In this post I will explain how to use console.time() for measuring time in javascript program.
We can write a function like below to verify the execution time for a particular program.
But using console.time(), we can write our code more clearly like below.
No comments:
Post a Comment