Performance Index Page 1

Javascript: Why you should use for() to iterate

If in your code you are using Array.forEach, check this blog post about the performance of javascript using for(). Learn how to improve the performance of the forEach in javascript.

Performance Index Page 1

Which is the proper "href" value in JavaScript for links: "#" or "javascript:void(0)"?

In this article we explain the differences of using "#" or "javascript:void(0)" in the href attribute. We warn you that for modern javascript you should avoid using this values in the href since it's a bad practice.