Node.js - Timers and Scheduling
Which of the following is the correct syntax to cancel a timeout set by
setTimeout?setTimeout?clearTimeout with the timeout ID.clearTimeout(timeoutId); uses the correct function name. cancelTimeout and stopTimeout do not exist. clearInterval(timeoutId); is for intervals, not timeouts.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions