Do while /** * Count to ten with do...while */ var x = 0; do { x++; console.log(x); } while(x < 10) Reference and read more MDN do...while Revision history 2014-06-02 (mos) PA1 First try.