List of questions
Related questions
Question 98 - Certified JavaScript Developer I discussion
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?
A.
console.timeLog()
B.
console.getTime()
C.
console.trace()
D.
console.timeStamp()
Your answer:
0 comments
Sorted by
Leave a comment first