List of questions
Related questions
Question 116 - Certified JavaScript Developer I discussion
Refer to the code below:
let timeFunction =() => {
console.log('Timer called.");
};
let timerId = setTimeout (timedFunction, 1000);
Which statement allows a developer to cancel the scheduled timed function?
A.
removeTimeout(timedFunction);
B.
removeTimeout(timerId);
C.
clearTimeout(timerId);
D.
clearTimeout(timedFunction);
Your answer:
0 comments
Sorted by
Leave a comment first