Answers for "javascript stop delay"

1

javascript stop delay

function example(){
	console.log("this is an example"); 
}

let functionID = setTimeout(example, 100); //the delay time is set to 100ms
clearTimeout(functionID); //cancel the setTimeout()
Posted by: Guest on June-17-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language