blob: 0a84e70a00bc2b1d0af80a2a5affd9c059cfb885 [file] [log] [blame]
This tests an early experimental implementation of ES6-esque Symbols.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS prop in o is false
PASS 'prop' in o is false
PASS Object.getOwnPropertyNames(o).length is 0
PASS forIn(o) is []
PASS prop in o is true
PASS 'prop' in o is false
PASS Object.getOwnPropertyNames(o).length is 0
PASS forIn(o) is []
PASS o[prop] is 42
PASS o['prop'] is 101
PASS Object.getOwnPropertyNames(o).length is 1
PASS forIn(o) is ["prop"]
PASS prop in o is false
PASS 'prop' in o is true
PASS Object.getOwnPropertyNames(o).length is 1
PASS forIn(o) is ["prop"]
PASS successfullyParsed is true
TEST COMPLETE