What are the difference between settimeout() and cleartimeout()?
Answer / Bhawna Bhatia
setTimeout() sets a timer which executes a function after a specified delay. clearTimeout() cancels a timeout before it executes. clearTimeout(timerId) cancels the timeout with the given ID.
| Is This Answer Correct ? | 0 Yes | 0 No |
How is node js used in web development?
What is Node.js?
What is difference between synchronous and asynchronous method of fs module?
What is module?
What is a response header?
What is the difference between promise and callback?
what is libuv in node js?
What is crypto in Node.js? How do you cipher the secured information in Node.js?
Why is the importance of a consistent style? What tools can help you assure a consistent style?
What is a callback in node.js?
Where node.js can be used?
What is MongoDB?