Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce Exam Javascript-Developer-I Topic 4 Question 30 Discussion

Actual exam question for Salesforce's Salesforce Certified JavaScript Developer I exam
Question #: 30
Topic #: 4
[All Salesforce Certified JavaScript Developer I Questions]

Universal Container(UC) just launched a new landing page, but users complain that the

website is slow. A developer found some functions that cause this problem. To verify this, the

developer decides to do everything and log the time each of these three suspicious functions

consumes.

console.time('Performance');

maybeAHeavyFunction();

thisCouldTakeTooLong();

orMaybeThisOne();

console.endTime('Performance');

Which function can the developer use to obtain the time spent by every one of the three

functions?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel