Re:How JavaScript Works: deep dive into call, apply, and bind
by hajile on Friday July 09, 2021 @06:19PM
(#27789155)
Until for..of came around, `Array.prototype.map.call($nodeList, myFn)` was pretty much the way to iterate over things that were "array-like" but didn't actually inherit from Array, so didn't have such methods.
[ Parent
| on HN ]
There are no comments on this comment yet.