Q. What does setImmediate do?

A
Executes after a delay
B
Executes immediately in the next event loop
C
Stops execution
D
Loops code
Solution:

setImmediate executes a function in the next event loop iteration.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!