This commit is contained in:
Ilya Kantor 2019-09-10 21:38:48 +03:00
parent ac2a76ae80
commit d6ef24f45d

View file

@ -316,6 +316,7 @@ There are also methods that limit access to the *whole* object:
[Object.freeze(obj)](mdn:js/Object/freeze) [Object.freeze(obj)](mdn:js/Object/freeze)
: Forbids adding/removing/changing of properties. Sets `configurable: false, writable: false` for all existing properties. : Forbids adding/removing/changing of properties. Sets `configurable: false, writable: false` for all existing properties.
And also there are tests for them: And also there are tests for them:
[Object.isExtensible(obj)](mdn:js/Object/isExtensible) [Object.isExtensible(obj)](mdn:js/Object/isExtensible)