DEV Community

Discussion on: Simplest way to compare two numbers array in JS

 
ksengine profile image
Kavindu Santhusa

Changing built-in Objects is a bad idea.

Thread Thread
 
hnicolas profile image
Nicolas Hervé

It is a bad practice, but in the browser context you should be aware that object prototype pollution exists.