2
0

extensible.baseline 591 B

123456789101112131415161718192021
  1. TestCase1
  2. 1
  3. true
  4. TestCase2 - preventExtensions & add a property
  5. x,y
  6. false
  7. TestCase3 - preventExtensions & delete a property
  8. undefined
  9. false
  10. TestCase4 - preventExtensions & modify a property
  11. x,y
  12. false
  13. 40
  14. TestCase5 - preventExtension on global object & declare a var
  15. Exception: TypeError
  16. TestCase6 - preventExtensions, delete property and set remaining properties to non configurable/writable - SimpleDictionaryTypeHandler
  17. true
  18. true
  19. TestCase7 - preventExtensions, delete property and set remaining properties to non configurable/writable - DictionaryTypeHandler
  20. true
  21. true