Comment on Ask HN: Advice for 14-year-old who wants to learn to code?parentComments−_RPM11yArray.prototype.forEach.call(..) is more efficient because it doesn't create a new array.−nailer11yFixing NodeList.prototype.forEach() is best because it doesn't read awfully but this is someone learning to program, not to fix the DOM API.
Comments
Array.prototype.forEach.call(..) is more efficient because it doesn't create a new array.
Fixing NodeList.prototype.forEach() is best because it doesn't read awfully but this is someone learning to program, not to fix the DOM API.