3 ms·
Array.prototype.forEach.call(..) is more efficient because it doesn't create a new array.
by _RPM 12y ago
Array.prototype.forEach.call(..) is more efficient because it doesn't create a new array.
- nailer 12y agoFixing NodeList.prototype.forEach() is best because it doesn't read awfully but this is someone learning to program, not to fix the DOM API.