1 As part of exploring JavaScript performance , I started wondering if the particular method of looping made a difference to performance.
2 What was surprising to me at least was that the new [].forEach() is one of or the slowest method to iterate through an array – slower than implement..
3 Looks like switching to a custom ‘each’ implementation which uses the for loop with cached length approach should give a performance boost without m..
트위터 반응

@saltfactory: 자바스크립트에서 for 와 forEach의 성능비교 http://t.co/BXYvofLh