Merge pull request #1356 from paroche/patch-40

Update article.md
This commit is contained in:
Ilya Kantor 2019-09-18 12:45:55 +03:00 committed by GitHub
commit ce344e7a79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -129,7 +129,7 @@ So, generally, modifying a native prototype is considered a bad idea.
**In modern programming, there is only one case where modifying native prototypes is approved. That's polyfilling.**
Polyfilling is a term for making a substitute for a method that exists in JavaScript specification, but not yet supported by current JavaScript engine.
Polyfilling is a term for making a substitute for a method that exists in JavaScript specification, but is not yet supported by current JavaScript engine.
Then we may implement it manually and populate the built-in prototype with it.