Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: clarify motivation for no-prototype-builtins (#11356)
The first section in the no-prototype-builtins docs mentions objects created with Object.create(null), but does not mention builtin shadowing (which is arguably a much more compelling reason to use the rule). This commit updates the description to clarify the risks of using prototype builtins on user input.
- Loading branch information