What is the output of the following code?
// An example of a do .. while loop let loopVar = 0; do { loopVar++; console.log(loopVar); } while (loopVar < 4)
Click to view the answer
1 2 3 4