Computer scienceBackendNode.jsApplication DevelopmentComposition of Node.js

Memory leak

Clear timers

Report a typo

You can see the timer, and your job is to use a function that clears the setTimeout.

Write a program in JavaScript
let timer = setTimeout(function() {
console.log("Clear this");
}, 1000);

/* Write your code here */

Create a free account to access the full topic