3 ms·
This isn’t the first time JS libraries get in the way of improving JS. Do you know why the arguments object doesn’t even get to have the array prototype? A bu
by olliej 9y ago
This isn’t the first time JS libraries get in the way of improving JS.
Do you know why the arguments object doesn’t even get to have the array prototype?
A bunch of js libraries - I can’t remember which anymore - detected arguments vs array by looking for .shift and .map or similar on an object and change there behavior accordingly - net result: a large number of major sites stopped working.
Similar for nodelist IIRC