Home
last modified time | relevance | path

Searched refs:test_symbol (Results 1 – 6 of 6) sorted by relevance

/third_party/jerryscript/tests/jerry/es2015/
Dsymbol-in.js16 var test_symbol = Symbol ('Test'); variable
20 assert ((test_symbol in obj) === false);
22 obj[test_symbol] = 'value';
24 assert ((test_symbol in obj) === true);
25 assert (obj[test_symbol] === 'value');
30 assert ((test_symbol in array) === false);
32 array[test_symbol] = 'value';
34 assert ((test_symbol in array) === true);
35 assert (array[test_symbol] === 'value');
38 assert ((test_symbol in Symbol) === false);
[all …]
/third_party/node/test/js-native-api/test_symbol/
Dtest3.js6 const test_symbol = require(`./build/${common.buildType}/test_symbol`); constant
8 assert.notStrictEqual(test_symbol.New(), test_symbol.New());
9 assert.notStrictEqual(test_symbol.New('foo'), test_symbol.New('foo'));
10 assert.notStrictEqual(test_symbol.New('foo'), test_symbol.New('bar'));
12 const foo1 = test_symbol.New('foo');
13 const foo2 = test_symbol.New('foo');
Dtest1.js6 const test_symbol = require(`./build/${common.buildType}/test_symbol`); constant
8 const sym = test_symbol.New('test');
12 const fooSym = test_symbol.New('foo');
13 const otherSym = test_symbol.New('bar');
Dbinding.gyp4 "target_name": "test_symbol",
7 "test_symbol.c"
Dtest2.js6 const test_symbol = require(`./build/${common.buildType}/test_symbol`); constant
8 const fooSym = test_symbol.New('foo');
/third_party/quickjs/tests/
Dtest_builtin.js539 function test_symbol() function
677 test_symbol();