Question 1
A developer opens the Node.js REPL and runs the following line:
Why does this fail?
Node.js cannot execute JavaScript from the terminal.
V8 can execute only arithmetic expressions, not DOM code.
A developer opens the Node.js REPL and runs the following line:
Why does this fail?
Node.js cannot execute JavaScript from the terminal.
V8 can execute only arithmetic expressions, not DOM code.
Correct answer
Question 1 of 15 in the IIT Madras BS Modern Application Development II (MAD 2) Quiz 2 paper sat on 16 Aug 2026, in the May 2026 term (Modern Application Development Ii 14 Aug 26). It carries 2 marks.