1.

Why does the Node rely on event handlers?(a) APIs are synchronous(b) APIs are asynchronous(c) APIs are reusable(d) APIs are modular

Answer» Correct answer is (b) APIs are asynchronous

The best I can explain: For handling the spontaneous events occurring on the web page the event handlers are important. Because the APIs are asynchronous, Node relies on event handlers, which are often implemented using nested functions and closures.


Discussion

No Comment Found

Related InterviewSolutions