Sort the following steps in the correct order of operation to measure the execution time of a code block in Node.js.
Console module
Console timers
Report a typo
Put the items in the correct order
Use
console.timeEnd() to stop the timer and log the elapsed time.Use
console.time() to start the timer.Execute the block of code.
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.