News for hackers. Stuff that matters.
Re:How JavaScript Works: deep dive into call, apply, and bind by chrisseaton on Friday July 09, 2021 @06:42PM (#27789337)
Doesn’t the compiler optimise it away?
Re:How JavaScript Works: deep dive into call, apply, and bind by hajile on Friday July 09, 2021 @06:57PM (#27789470)
Those aren't the same types. One is a DOM array and the other is a JS array. They don't share the same constructor or the same prototype chain.