4 ms·
If you're seriously wondering why is it so then, well, they're just replacing native methods of the document object, in order to get the same behavior from your
by maga 10y ago
If you're seriously wondering why is it so then, well, they're just replacing native methods of the document object, in order to get the same behavior from your second line, they'll have to replace Element.prototype.querySelectorAll as well, which is a bad idea.