Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Why does the Node rely on event handlers?

  2. A.

     APIs are synchronous

    B.

     APIs are asynchronous

    C.

     APIs are reusable

    D.

     None of the mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    Because the APIs are asynchronous, Node relies on event handlers, which are often implemented using nested functions and closures.


Be The First To Comment