Home
last modified time | relevance | path

Searched refs:unscopables (Results 1 – 25 of 49) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DsymbolProperty22.types3 [Symbol.unscopables](x: T): U;
4 >[Symbol.unscopables] : (x: T) => U
5 >Symbol.unscopables : symbol
7 >unscopables : symbol
16 foo("", { [Symbol.unscopables]: s => s.length });
17 >foo("", { [Symbol.unscopables]: s => s.length }) : number
20 >{ [Symbol.unscopables]: s => s.length } : { [Symbol.unscopables]: (s: string) => number; }
21 >[Symbol.unscopables] : (s: string) => number
22 >Symbol.unscopables : symbol
24 >unscopables : symbol
DsymbolProperty21.types3 [Symbol.unscopables]: T;
4 >[Symbol.unscopables] : T
5 >Symbol.unscopables : symbol
7 >unscopables : symbol
23 >foo({ [Symbol.isConcatSpreadable]: "", [Symbol.toPrimitive]: 0, [Symbol.unscopables]: tru…
25 …tive]: 0, [Symbol.unscopables]: true} : { [Symbol.isConcatSpreadable]: string; [Symbol.toPrimit…
41 [Symbol.unscopables]: true
42 >[Symbol.unscopables] : true
43 >Symbol.unscopables : symbol
45 >unscopables : symbol
DsymbolProperty22.symbols7 [Symbol.unscopables](x: T): U;
8 >[Symbol.unscopables] : Symbol(I[Symbol.unscopables], Decl(symbolProperty22.ts, 0, 19))
9 >Symbol.unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, …
11 >unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
29 foo("", { [Symbol.unscopables]: s => s.length });
31 >[Symbol.unscopables] : Symbol([Symbol.unscopables], Decl(symbolProperty22.ts, 6, 9))
32 >Symbol.unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, …
34 >unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
DsymbolProperty21.symbols7 [Symbol.unscopables]: T;
8 >[Symbol.unscopables] : Symbol(I[Symbol.unscopables], Decl(symbolProperty21.ts, 0, 19))
9 >Symbol.unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, …
11 >unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
50 [Symbol.unscopables]: true
51 >[Symbol.unscopables] : Symbol([Symbol.unscopables], Decl(symbolProperty21.ts, 9, 28))
52 >Symbol.unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, …
54 >unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
DparserSymbolProperty3.symbols5 [Symbol.unscopables](): string;
6 >[Symbol.unscopables] : Symbol(C[Symbol.unscopables], Decl(parserSymbolProperty3.ts, 0, 17))
7 >Symbol.unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, …
9 >unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
DparserSymbolProperty2.symbols5 [Symbol.unscopables](): string;
6 >[Symbol.unscopables] : Symbol(I[Symbol.unscopables], Decl(parserSymbolProperty2.ts, 0, 13))
7 >Symbol.unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, …
9 >unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
DsymbolProperty8.symbols5 [Symbol.unscopables]: number;
6 >[Symbol.unscopables] : Symbol(I[Symbol.unscopables], Decl(symbolProperty8.ts, 0, 13))
7 >Symbol.unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, …
9 >unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
DparserES5SymbolProperty2.types3 [Symbol.unscopables](): string;
4 >[Symbol.unscopables] : () => string
5 >Symbol.unscopables : any
7 >unscopables : any
DparserSymbolProperty2.types3 [Symbol.unscopables](): string;
4 >[Symbol.unscopables] : () => string
5 >Symbol.unscopables : symbol
7 >unscopables : symbol
DparserSymbolProperty3.types5 [Symbol.unscopables](): string;
6 >[Symbol.unscopables] : () => string
7 >Symbol.unscopables : symbol
9 >unscopables : symbol
DparserES5SymbolProperty3.types5 [Symbol.unscopables](): string;
6 >[Symbol.unscopables] : () => string
7 >Symbol.unscopables : any
9 >unscopables : any
DsymbolProperty6.symbols11 [Symbol.unscopables]: number;
12 >[Symbol.unscopables] : Symbol(C[Symbol.unscopables], Decl(symbolProperty6.ts, 1, 26))
13 >Symbol.unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, …
15 >unscopables : Symbol(SymbolConstructor.unscopables, Decl(lib.es2015.symbol.wellknown.d.ts, --, --))
DsymbolProperty8.types3 [Symbol.unscopables]: number;
4 >[Symbol.unscopables] : number
5 >Symbol.unscopables : symbol
7 >unscopables : symbol
DsymbolProperty6.types12 [Symbol.unscopables]: number;
13 >[Symbol.unscopables] : number
14 >Symbol.unscopables : symbol
16 >unscopables : symbol
DparserES5SymbolProperty2.symbols5 [Symbol.unscopables](): string;
6 >[Symbol.unscopables] : Symbol(I[Symbol.unscopables], Decl(parserES5SymbolProperty2.ts, 0, 13))
DparserES5SymbolProperty3.symbols5 [Symbol.unscopables](): string;
6 >[Symbol.unscopables] : Symbol(C[Symbol.unscopables], Decl(parserES5SymbolProperty3.ts, 0, 17))
DsymbolProperty22.js3 [Symbol.unscopables](x: T): U;
8 foo("", { [Symbol.unscopables]: s => s.length });
11 foo("", { [Symbol.unscopables]: s => s.length });
DsymbolProperty21.js3 [Symbol.unscopables]: T;
12 [Symbol.unscopables]: true
19 [Symbol.unscopables]: true
DsymbolProperty21.errors.txt1 …bol.isConcatSpreadable]: string; [Symbol.toPrimitive]: number; [Symbol.unscopables]: true; }' is n…
7 [Symbol.unscopables]: T;
17 …bol.isConcatSpreadable]: string; [Symbol.toPrimitive]: number; [Symbol.unscopables]: true; }' is n…
19 [Symbol.unscopables]: true
/third_party/jerryscript/tests/jerry/es2015/
Dsymbol-unscopables.js26 obj[Symbol.unscopables] = {
62 Object.defineProperty(obj2, Symbol.unscopables, { get: function () { throw 42; } });
74 Object.defineProperty(obj3, Symbol.unscopables, { get: function () { throw 42; } });
84 var symbol_obj = Array.prototype[Symbol.unscopables];
93 assert(Object.getPrototypeOf(Array.prototype[Symbol.unscopables]) === null);
95 var obj3 = Object.getOwnPropertyDescriptor(Array.prototype[Symbol.unscopables], "find");
102 a[Symbol.unscopables] = { bar: true };
109 let proxy = new Proxy({ a : 4, [Symbol.unscopables] : [] }, {
126 assert(track[1] === Symbol.unscopables);
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-reference.c147 …ecma_value_t unscopables = ecma_op_object_get_by_symbol_id (binding_obj_p, LIT_GLOBAL_SYMBOL_UNSCO… in ecma_op_is_prop_unscopable() local
149 if (ECMA_IS_VALUE_ERROR (unscopables)) in ecma_op_is_prop_unscopable()
151 return unscopables; in ecma_op_is_prop_unscopable()
154 if (ecma_is_value_object (unscopables)) in ecma_op_is_prop_unscopable()
156 ecma_object_t *unscopables_obj_p = ecma_get_object_from_value (unscopables); in ecma_op_is_prop_unscopable()
172 ecma_free_value (unscopables); in ecma_op_is_prop_unscopable()
/third_party/typescript/tests/cases/conformance/es6/Symbols/
DsymbolProperty21.ts3 [Symbol.unscopables]: T;
12 [Symbol.unscopables]: true
DsymbolProperty22.ts3 [Symbol.unscopables](x: T): U;
8 foo("", { [Symbol.unscopables]: s => s.length });
/third_party/typescript/src/lib/
Des2015.symbol.wellknown.d.ts62 readonly unscopables: symbol; property
79 [Symbol.unscopables](): {
/third_party/typescript/lib/
Dlib.es2015.symbol.wellknown.d.ts82 readonly unscopables: symbol; property
99 [Symbol.unscopables](): {

12