News for hackers. Stuff that matters.
Re:How JavaScript Works: deep dive into call, apply, and bind by lhorie on Friday July 09, 2021 @07:41PM (#27789708)
> The Array.from() static method creates a new, shallow-copied Array instance from an array-like or iterable object[0]

So, do this instead:

    Array.from($nodeList, myFn)
[0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Re:How JavaScript Works: deep dive into call, apply, and bind by merrywhether on Saturday July 10, 2021 @12:16AM (#27791071)
I never knew this mapping variation of Array.from, that is slick!

Also serves as a great example of how JS is standardizing useful patterns that were previously accomplished via bending the language a bit.