Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Salesforce Certified JavaScript Developer (JS-Dev-101) JavaScript-Developer-I Question # 19 Topic 2 Discussion

Salesforce Certified JavaScript Developer (JS-Dev-101) JavaScript-Developer-I Question # 19 Topic 2 Discussion

JavaScript-Developer-I Exam Topic 2 Question 19 Discussion:
Question #: 19
Topic #: 2

A developer has an isDeg function that takes one argument, pts. They want to schedule the function to run every minute.

What is the correct syntax for scheduling this function?


A.

setInterval(isDeg( ' cat ' ), 60000);


B.

setInterval(isDeg, 60000, ' cat ' );


C.

setTimeout(isDeg, 60000, ' cat ' );


D.

setTimeout(isDeg( ' cat ' ), 60000);


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.