Update article.md

Replace 'cause' with 'case'.
This commit is contained in:
paroche 2019-10-02 22:55:47 -06:00 committed by GitHub
parent e9e48010ed
commit fea92bb331
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -193,4 +193,4 @@ Borrowing methods is flexible, it allows to mix functionality from different obj
- The methods are stored in the prototype (`Array.prototype`, `Object.prototype`, `Date.prototype` etc).
- The object itself stores only the data (array items, object properties, the date).
- Primitives also store methods in prototypes of wrapper objects: `Number.prototype`, `String.prototype`, `Boolean.prototype`. Only `undefined` and `null` do not have wrapper objects.
- Built-in prototypes can be modified or populated with new methods. But it's not recommended to change them. Probably the only allowable cause is when we add-in a new standard, but not yet supported by the engine JavaScript method.
- Built-in prototypes can be modified or populated with new methods. But it's not recommended to change them. Probably the only allowable case is when we add-in a new standard, but not yet supported by the engine JavaScript method.