Home
last modified time | relevance | path

Searched refs:fooSym (Results 1 – 2 of 2) sorted by relevance

/third_party/node/test/js-native-api/test_symbol/
Dtest2.js8 const fooSym = test_symbol.New('foo'); constant
11 myObj[fooSym] = 'baz';
15 assert.strictEqual(Object.getOwnPropertySymbols(myObj)[0], fooSym);
Dtest1.js12 const fooSym = test_symbol.New('foo'); constant
15 myObj[fooSym] = 'baz';
18 assert.strictEqual(myObj[fooSym], 'baz');