Kizspy | Question: 45
(Choose 1 answer)
What is the purpose of a callback function in Node.js?
A. To handle synchronous code execution.
B. To handle asynchronous code execution.
C. To replace traditional loops in JavaScript.
D. To define object properties.