New Year Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam JavaScript-Developer-I All Questions
Exam JavaScript-Developer-I All Questions

View all questions & answers for the JavaScript-Developer-I exam

Salesforce Developer JavaScript-Developer-I Question # 61 Topic 7 Discussion

JavaScript-Developer-I Exam Topic 7 Question 61 Discussion:
Question #: 61
Topic #: 7

Refer tothe 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);


Get Premium JavaScript-Developer-I Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.