If you want to know the execution time of a piece of code? Probably you have done something like this
We have better option to do this using console functions,We can use console.time and console.timeEnd() to calculate execution time.
We can also check the excecution time of multiple process...
https://medium.com/@naubit/its-2022-don-t-use-console-log-anymore-but-this-e7fe4369dffe