Commit 703bba6
committed
isExtensible, isSealed, isFrozen description
Make isExtensible, isSealed, isFrozen more strict. First item -- corrects statement that "isExtensible returns true if preventExtensions was called". Second item -- expands each method description aiming to make it more strict, previous way was a little bit messy for corner cases e.g. isSealed can return true on empty object for which preventExtensions was called.1 parent 3070037 commit 703bba6
1 file changed
Lines changed: 8 additions & 2 deletions
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
390 | | - | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
391 | 397 | | |
0 commit comments