News for hackers. Stuff that matters.
Re:How JavaScript Works: deep dive into call, apply, and bind by guntars on Sunday July 11, 2021 @10:21PM (#27806263)
Yep, I just looked it up and it does indeed say that, at least for the 2016 version when all of these features were introduced. Fine! Carry on applying your maps to your non-Arrays!

Personally I think Array.of($nodeList).map(…) should be guaranteed to allocate once and then there’d be no more discussion here.

https://262.ecma-international.org/7.0/#sec-array.prototype....

There are no comments on this comment yet.