Open In App

Web technologies Questions | Node.js Quiz | Set-2 | Question 3

Which below method is method to stop the time in Node.js ?
(A) console.timeEnd()
(B) console.timeStamp()
(C) console.trace()
(D) console.end()

Answer: (A)
Explanation: The console.timeEnd() is a method in node.js which is the console class. This method stops a timer that was previously started by using the console.time() method and display the result using stdout in node.js. It takes the parameter as the label.
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :