JavaScript is the most common and most used language due to its functions and wide community. I’m using JS as my main stack for the last 5 years and still, there are so many concepts that are still unknown for me as well but in these years I come across many tips and tricks that help me. So, as a JS developer, you should know some of’em.

Performance Timing

Want to check how much time your code takes to execute? Simple enough, JS has performance.now() method which will return time in ms(milisecond) You can wrap around your method to find out the execution time.

#javascript

Lesser-Known JavaScript Tips and Tricks
1.15 GEEK