blob: 26a3ccda9fe77d014aac551cd870f3d91371d9e9 [file] [log] [blame]
This test checks whether various seal/freeze/preventExtentions work on a regular object.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS test(obj()) is "(b:4)(c:3)E"
PASS test(preventExtensions(obj())) is "(b:4)"
PASS test(seal(obj())) is "(a:1)(b:4)S"
PASS test(freeze(obj())) is "(a:1)(b:2)SF"
PASS successfullyParsed is true
TEST COMPLETE