What is the Node.js event loop's primary role?
-
A
To spawn child processes for CPU-intensive tasks
-
B
To manage the execution of asynchronous callbacks by monitoring the call stack and callback queue
-
C
To compile JavaScript into native machine code
-
D
To handle garbage collection of unused variables