(1)
What will be the output of the following JavaScript code?
function printArray(a) { var len = a.length, i = 0; if (len == 0) console.log("Empty Array"); else { do { console.log(a[i]); } while (++i < len); } }
Answer: Prints the numbers in the array in order