Array Join instead of String concat in Loop in JavaScript!

You may have seen array join after pushing data inside Array for concatenation work in . That was faster method compared to doing large number of string concatenation in older Browser. Browser used to crash in such large number of concatenation. So, Array Join was the workaround. Now, change your habit and do concat for concat work.

Here is the finding of array join and concat for concat work. This article is old (2010), so hope the improvement will be more now!