Question 16
A Promise chain is created as follows. The first Promise resolves with a string, which is then processed through multiple .then() handlers. What will be logged to the console?
hello
hello WORLD
HELLO WORLD
An error will be thrown
A Promise chain is created as follows. The first Promise resolves with a string, which is then processed through multiple .then() handlers. What will be logged to the console?
hello
hello WORLD
HELLO WORLD
An error will be thrown
Correct answer
HELLO WORLD
Question 16 of 29 in the IIT Madras BS Modern Application Development II (MAD 2) End Term paper sat on 21 Dec 2025, in the September 2025 term (Modern Application Development Ii 18 Dec 25). It carries 3 marks.