Problem Statement
List various timing features available in Node.js.
Explanation
Node.js provides global timing functions like `setTimeout`, `setInterval`, `setImmediate`, and `process.nextTick`. These schedule functions at different stages of the event loop for asynchronous control.
Code Solution
SolutionRead Only
setTimeout(()=>console.log('Timeout'),1000);
setImmediate(()=>console.log('Immediate'));
process.nextTick(()=>console.log('Next Tick'));