dysnomia
dysnomia copied to clipboard
Disallow the use of prototype builtins.
This issue refers to an ESLint rule, which is extended in its recommendation: no-prototype-builtins.
The rule highlights some advantages, such as: avoidance of property shadowing errors, better compatibility with third-party environments, security in untrusted environments, facilitates code auditing.
In terms of performance, there is no significant variation as the function call time is negligible in most scenarios.