Question 4
Consider the following JavaScript code:
The above code is initially loaded in the browser, and then the browser is refreshed two times. What will be the final output printed in the console?
—
—
—
—
Consider the following JavaScript code:
The above code is initially loaded in the browser, and then the browser is refreshed two times. What will be the final output printed in the console?
—
—
—
—
Correct answer
—
Question 4 of 17 in the IIT Madras BS Modern Application Development II (MAD 2) Quiz 1 paper sat on 15 Mar 2026, in the January 2026 term (Modern Application Development Ii 15 Mar 26). It carries 3 marks.