_id
stringlengths
21
254
text
stringlengths
1
93.7k
metadata
dict
TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments19_ES6.ts_3_445
@target: es6 function f() { function g() { var _arguments = 10; // No capture in 'g', so no conflict. function h() { var capture = () => arguments; // Should trigger an '_arguments' capture into function 'h' foo(_arguments); // Error as this d...
{ "end_byte": 445, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments19_ES6.ts" }
TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments07_ES6.ts_3_89
@target: es6 function f(arguments) { var a = (arguments) => () => arguments; }
{ "end_byte": 89, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments07_ES6.ts" }
TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionThisCapturing.ts_3_195
@target:es5 var f1 = () => { this.age = 10 }; var f2 = (x: string) => { this.name = x } function foo(func: () => boolean) { } foo(() => { this.age = 100; return true; });
{ "end_byte": 195, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionThisCapturing.ts" }
TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments15_ES6.ts_3_159
@target: es6 function f() { var arguments = "hello"; if (Math.random()) { const arguments = 100; return () => arguments; } }
{ "end_byte": 159, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments15_ES6.ts" }
TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments10.ts_3_96
@target: es5 function f() { var _arguments = 10; var a = () => () => arguments; }
{ "end_byte": 96, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments10.ts" }
TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments04.ts_3_84
@target: es5 function f() { var arguments; var a = () => arguments; }
{ "end_byte": 84, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments04.ts" }
TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments14.ts_3_130
@target: es5 function f() { if (Math.random()) { const arguments = 100; return () => arguments; } }
{ "end_byte": 130, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionWhenUsingArguments14.ts" }
TypeScript/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionThisCapturingES6.ts_3_194
@target:es6 var f1 = () => { this.age = 10 }; var f2 = (x: string) => { this.name = x } function foo(func: () => boolean){ } foo(() => { this.age = 100; return true; });
{ "end_byte": 194, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/arrowFunction/emitArrowFunctionThisCapturingES6.ts" }
TypeScript/tests/cases/conformance/es6/moduleExportsAmd/defaultExportsGetExportedAmd.ts_0_132
// @target: ES6 // @module: amd // @filename: a.ts export default class Foo {} // @filename: b.ts export default function foo() {}
{ "end_byte": 132, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/moduleExportsAmd/defaultExportsGetExportedAmd.ts" }
TypeScript/tests/cases/conformance/es6/moduleExportsAmd/anonymousDefaultExportsAmd.ts_0_123
// @target: ES6 // @module: amd // @filename: a.ts export default class {} // @filename: b.ts export default function() {}
{ "end_byte": 123, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/moduleExportsAmd/anonymousDefaultExportsAmd.ts" }
TypeScript/tests/cases/conformance/es6/moduleExportsAmd/decoratedDefaultExportsGetExportedAmd.ts_0_242
// @target: ES6 // @experimentalDecorators: true // @module: amd // @filename: a.ts var decorator: ClassDecorator; @decorator export default class Foo {} // @filename: b.ts var decorator: ClassDecorator; @decorator export default class {}
{ "end_byte": 242, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/moduleExportsAmd/decoratedDefaultExportsGetExportedAmd.ts" }
TypeScript/tests/cases/conformance/es6/moduleExportsAmd/outFilerootDirModuleNamesAmd.ts_0_316
// @target: ES6 // @module: amd // @rootDir: src // @outFile: output.js // @filename: src/a.ts import foo from "./b"; export default class Foo {} foo(); // @filename: src/b.ts import Foo from "./a"; export default function foo() { new Foo(); } // https://github.com/microsoft/TypeScript/issues/37429 import("./a");
{ "end_byte": 316, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/moduleExportsAmd/outFilerootDirModuleNamesAmd.ts" }
TypeScript/tests/cases/conformance/es6/classExpressions/typeArgumentInferenceWithClassExpression2.ts_0_172
function foo<T>(x = class { prop: T }): T { return undefined; } // Should not infer string because it is a static property foo(class { static prop = "hello" }).length;
{ "end_byte": 172, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/classExpressions/typeArgumentInferenceWithClassExpression2.ts" }
TypeScript/tests/cases/conformance/es6/classExpressions/typeArgumentInferenceWithClassExpression3.ts_0_106
function foo<T>(x = class { prop: T }): T { return undefined; } foo(class { prop = "hello" }).length;
{ "end_byte": 106, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/classExpressions/typeArgumentInferenceWithClassExpression3.ts" }
TypeScript/tests/cases/conformance/es6/classExpressions/classExpressionES62.ts_0_57
// @target: es6 class D { } var v = class C extends D {};
{ "end_byte": 57, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/classExpressions/classExpressionES62.ts" }
TypeScript/tests/cases/conformance/es6/classExpressions/classExpressionES63.ts_0_121
// @target: es6 let C = class extends class extends class { a = 1 } { b = 2 } { c = 3 }; let c = new C(); c.a; c.b; c.c;
{ "end_byte": 121, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/classExpressions/classExpressionES63.ts" }
TypeScript/tests/cases/conformance/es6/classExpressions/classExpressionES61.ts_0_35
// @target: es6 var v = class C {};
{ "end_byte": 35, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/classExpressions/classExpressionES61.ts" }
TypeScript/tests/cases/conformance/es6/classExpressions/typeArgumentInferenceWithClassExpression1.ts_0_120
function foo<T>(x = class { static prop: T }): T { return undefined; } foo(class { static prop = "hello" }).length;
{ "end_byte": 120, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/classExpressions/typeArgumentInferenceWithClassExpression1.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates18.ts_3_48
@target: es5,es6 var x = `\u{65}\u{65}`;
{ "end_byte": 48, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates18.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions05.ts_3_104
@target: es5,es6 var x = /\u{48}\u{65}\u{6c}\u{6c}\u{6f}\u{20}\u{77}\u{6f}\u{72}\u{6c}\u{64}/gu;
{ "end_byte": 104, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions05.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings18.ts_3_48
@target: es5,es6 var x = "\u{65}\u{65}";
{ "end_byte": 48, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings18.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings08.ts_3_156
@target: es5,es6 // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 2. If cp ≤ 65535, return cp. // (FFFF == 65535) var x = "\u{FFFF}";
{ "end_byte": 156, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings08.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions15.ts_3_70
@target: es5,es6 var x = /\u{abcd}\u{ef12}\u{3456}\u{7890}/gu;
{ "end_byte": 70, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions15.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates08.ts_3_156
@target: es5,es6 // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 2. If cp ≤ 65535, return cp. // (FFFF == 65535) var x = `\u{FFFF}`;
{ "end_byte": 156, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates08.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions01.ts_3_43
@target: es5,es6 var x = /\u{0}/gu;
{ "end_byte": 43, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions01.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions11.ts_3_270
@target: es5,es6 // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 2. Let cu2 be ((cp – 65536) modulo 1024) + 0xDC00. // Although we should just get back a single code point value of 0xDC00, // this is a useful edge-case test. var x = /\u{DC00}/gu;
{ "end_byte": 270, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions11.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions10.ts_3_270
@target: es5,es6 // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 2. Let cu1 be floor((cp – 65536) / 1024) + 0xD800. // Although we should just get back a single code point value of 0xD800, // this is a useful edge-case test. var x = /\u{D800}/gu;
{ "end_byte": 270, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions10.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates19.ts_3_40
@target: es5,es6 var x = `\u{}`;
{ "end_byte": 40, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates19.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions04.ts_3_50
@target: es5,es6 var x = /\u{00000000}/gu;
{ "end_byte": 50, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions04.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings19.ts_3_40
@target: es5,es6 var x = "\u{}";
{ "end_byte": 40, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings19.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings09.ts_3_158
@target: es5,es6 // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 2. If cp ≤ 65535, return cp. // (10000 == 65536) var x = "\u{10000}";
{ "end_byte": 158, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings09.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions14.ts_3_93
@target: es5,es6 // Shouldn't work, negatives are not allowed. var x = /\u{-DDDD}/gu;
{ "end_byte": 93, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions14.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates09.ts_3_158
@target: es5,es6 // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 2. If cp ≤ 65535, return cp. // (10000 == 65536) var x = `\u{10000}`;
{ "end_byte": 158, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates09.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates12.ts_3_48
@target: es5,es6 var x = `\u{FFFFFFFF}`;
{ "end_byte": 48, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates12.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings12.ts_3_48
@target: es5,es6 var x = "\u{FFFFFFFF}";
{ "end_byte": 48, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings12.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings02.ts_3_42
@target: es5,es6 var x = "\u{00}";
{ "end_byte": 42, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings02.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates02.ts_3_42
@target: es5,es6 var x = `\u{00}`;
{ "end_byte": 42, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates02.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings16.ts_3_68
@target: es5,es6 var x = "\u{ABCD}\u{EF12}\u{3456}\u{7890}";
{ "end_byte": 68, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings16.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates16.ts_3_68
@target: es5,es6 var x = `\u{ABCD}\u{EF12}\u{3456}\u{7890}`;
{ "end_byte": 68, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates16.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings22.ts_3_53
@target: es5,es6 var x = "\u{00000000000067";
{ "end_byte": 53, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings22.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates06.ts_3_142
@target: es5,es6 // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 1. Assert: 0 ≤ cp ≤ 0x10FFFF. var x = `\u{10FFFF}`;
{ "end_byte": 142, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates06.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings06.ts_3_142
@target: es5,es6 // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 1. Assert: 0 ≤ cp ≤ 0x10FFFF. var x = "\u{10FFFF}";
{ "end_byte": 142, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings06.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings17.ts_3_51
@target: es5,es6 var x = "\u{r}\u{n}\u{t}";
{ "end_byte": 51, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings17.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates17.ts_3_51
@target: es5,es6 var x = `\u{r}\u{n}\u{t}`;
{ "end_byte": 51, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates17.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings23.ts_3_54
@target: es5,es6 var x = "\u{00000000000067}";
{ "end_byte": 54, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings23.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates07.ts_3_142
@target: es5,es6 // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 1. Assert: 0 ≤ cp ≤ 0x10FFFF. var x = `\u{110000}`;
{ "end_byte": 142, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates07.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings07.ts_3_142
@target: es5,es6 // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 1. Assert: 0 ≤ cp ≤ 0x10FFFF. var x = "\u{110000}";
{ "end_byte": 142, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings07.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates13.ts_3_45
@target: es5,es6 var x = `\u{DDDDD}`;
{ "end_byte": 45, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates13.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings13.ts_3_45
@target: es5,es6 var x = "\u{DDDDD}";
{ "end_byte": 45, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings13.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings03.ts_3_44
@target: es5,es6 var x = "\u{0000}";
{ "end_byte": 44, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings03.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates03.ts_3_44
@target: es5,es6 var x = `\u{0000}`;
{ "end_byte": 44, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates03.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions09.ts_3_160
@target: es5,es6 // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 2. If cp ≤ 65535, return cp. // (10000 == 65536) var x = /\u{10000}/gu;
{ "end_byte": 160, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions09.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates20.ts_3_132
@target: es5,es6 var x = `\u{48}\u{65}\u{6c}\u{6c}\u{6f}${`\u{20}\u{020}\u{0020}\u{000020}`}\u{77}\u{6f}\u{72}\u{6c}\u{64}`;
{ "end_byte": 132, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates20.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings14.ts_3_91
@target: es5,es6 // Shouldn't work, negatives are not allowed. var x = "\u{-DDDD}";
{ "end_byte": 91, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings14.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings20.ts_3_39
@target: es5,es6 var x = "\u{";
{ "end_byte": 39, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings20.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates14.ts_3_91
@target: es5,es6 // Shouldn't work, negatives are not allowed. var x = `\u{-DDDD}`;
{ "end_byte": 91, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates14.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates04.ts_3_48
@target: es5,es6 var x = `\u{00000000}`;
{ "end_byte": 48, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates04.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings04.ts_3_48
@target: es5,es6 var x = "\u{00000000}";
{ "end_byte": 48, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings04.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions19.ts_3_42
@target: es5,es6 var x = /\u{}/gu;
{ "end_byte": 42, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions19.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates10.ts_3_268
@target: es5,es6 // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 2. Let cu1 be floor((cp – 65536) / 1024) + 0xD800. // Although we should just get back a single code point value of 0xD800, // this is a useful edge-case test. var x = `\u{D800}`;
{ "end_byte": 268, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates10.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings24.ts_3_51
@target: es5,es6 var x = "\u{00000000000067
{ "end_byte": 51, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings24.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings10.ts_3_268
@target: es5,es6 // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 2. Let cu1 be floor((cp – 65536) / 1024) + 0xD800. // Although we should just get back a single code point value of 0xD800, // this is a useful edge-case test. var x = "\u{D800}";
{ "end_byte": 268, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings10.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates11.ts_3_268
@target: es5,es6 // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 2. Let cu2 be ((cp – 65536) modulo 1024) + 0xDC00. // Although we should just get back a single code point value of 0xDC00, // this is a useful edge-case test. var x = `\u{DC00}`;
{ "end_byte": 268, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates11.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings25.ts_3_52
@target: es5,es6 var x = "\u{00000000000067}
{ "end_byte": 52, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings25.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings11.ts_3_268
@target: es5,es6 // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 2. Let cu2 be ((cp – 65536) modulo 1024) + 0xDC00. // Although we should just get back a single code point value of 0xDC00, // this is a useful edge-case test. var x = "\u{DC00}";
{ "end_byte": 268, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings11.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings01.ts_3_41
@target: es5,es6 var x = "\u{0}";
{ "end_byte": 41, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings01.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates01.ts_3_41
@target: es5,es6 var x = `\u{0}`;
{ "end_byte": 41, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates01.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions08.ts_3_158
@target: es5,es6 // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 2. If cp ≤ 65535, return cp. // (FFFF == 65535) var x = /\u{FFFF}/gu;
{ "end_byte": 158, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions08.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings15.ts_3_68
@target: es5,es6 var x = "\u{abcd}\u{ef12}\u{3456}\u{7890}";
{ "end_byte": 68, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings15.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings21.ts_3_41
@target: es5,es6 var x = "\u{67";
{ "end_byte": 41, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings21.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates15.ts_3_68
@target: es5,es6 var x = `\u{abcd}\u{ef12}\u{3456}\u{7890}`;
{ "end_byte": 68, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates15.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates05.ts_3_102
@target: es5,es6 var x = `\u{48}\u{65}\u{6c}\u{6c}\u{6f}\u{20}\u{77}\u{6f}\u{72}\u{6c}\u{64}`;
{ "end_byte": 102, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInTemplates05.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings05.ts_3_102
@target: es5,es6 var x = "\u{48}\u{65}\u{6c}\u{6c}\u{6f}\u{20}\u{77}\u{6f}\u{72}\u{6c}\u{64}";
{ "end_byte": 102, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInStrings05.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions18.ts_3_50
@target: es5,es6 var x = /\u{65}\u{65}/gu;
{ "end_byte": 50, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions18.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions03.ts_3_46
@target: es5,es6 var x = /\u{0000}/gu;
{ "end_byte": 46, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions03.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions13.ts_3_47
@target: es5,es6 var x = /\u{DDDDD}/gu;
{ "end_byte": 47, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions13.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions07.ts_3_144
@target: es5,es6 // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 1. Assert: 0 ≤ cp ≤ 0x10FFFF. var x = /\u{110000}/gu;
{ "end_byte": 144, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions07.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions17.ts_3_53
@target: es5,es6 var x = /\u{r}\u{n}\u{t}/gu;
{ "end_byte": 53, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions17.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions06.ts_3_144
@target: es5,es6 // ES6 Spec - 10.1.1 Static Semantics: UTF16Encoding (cp) // 1. Assert: 0 ≤ cp ≤ 0x10FFFF. var x = /\u{10FFFF}/gu;
{ "end_byte": 144, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions06.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions16.ts_3_70
@target: es5,es6 var x = /\u{ABCD}\u{EF12}\u{3456}\u{7890}/gu;
{ "end_byte": 70, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions16.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions02.ts_3_44
@target: es5,es6 var x = /\u{00}/gu;
{ "end_byte": 44, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions02.ts" }
TypeScript/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions12.ts_3_50
@target: es5,es6 var x = /\u{FFFFFFFF}/gu;
{ "end_byte": 50, "start_byte": 3, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/unicodeExtendedEscapes/unicodeExtendedEscapesInRegularExpressions12.ts" }
TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall5.ts_0_465
//@target: ES6 function foo(...s: (symbol | string)[]) { } class SymbolIterator { next() { return { value: Symbol(), done: false }; } [Symbol.iterator]() { return this; } } class _StringIterator { next() { return { value: "", ...
{ "end_byte": 465, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/spread/iteratorSpreadInCall5.ts" }
TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInArray4.ts_0_237
//@target: ES6 class SymbolIterator { next() { return { value: Symbol(), done: false }; } [Symbol.iterator]() { return this; } } var array = [0, 1, ...new SymbolIterator];
{ "end_byte": 237, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/spread/iteratorSpreadInArray4.ts" }
TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall11.ts_0_265
//@target: ES6 function foo<T>(...s: T[]) { return s[0] } class SymbolIterator { next() { return { value: Symbol(), done: false }; } [Symbol.iterator]() { return this; } } foo(...new SymbolIterator);
{ "end_byte": 265, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/spread/iteratorSpreadInCall11.ts" }
TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall4.ts_0_267
//@target: ES6 function foo(s1: symbol, ...s: symbol[]) { } class SymbolIterator { next() { return { value: Symbol(), done: false }; } [Symbol.iterator]() { return this; } } foo(...new SymbolIterator);
{ "end_byte": 267, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/spread/iteratorSpreadInCall4.ts" }
TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInArray5.ts_0_247
//@target: ES6 class SymbolIterator { next() { return { value: Symbol(), done: false }; } [Symbol.iterator]() { return this; } } var array: number[] = [0, 1, ...new SymbolIterator];
{ "end_byte": 247, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/spread/iteratorSpreadInArray5.ts" }
TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall10.ts_0_262
//@target: ES6 function foo<T>(s: T[]) { return s[0] } class SymbolIterator { next() { return { value: Symbol(), done: false }; } [Symbol.iterator]() { return this; } } foo(...new SymbolIterator);
{ "end_byte": 262, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/spread/iteratorSpreadInCall10.ts" }
TypeScript/tests/cases/conformance/es6/spread/arrayLiteralSpreadES5iterable.ts_0_513
// @downlevelIteration: true function f0() { var a = [1, 2, 3]; var a1 = [...a]; var a2 = [1, ...a]; var a3 = [1, 2, ...a]; var a4 = [...a, 1]; var a5 = [...a, 1, 2]; var a6 = [1, 2, ...a, 1, 2]; var a7 = [1, ...a, 2, ...a]; var a8 = [...a, ...a, ...a]; } function f1() { var a =...
{ "end_byte": 513, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/spread/arrayLiteralSpreadES5iterable.ts" }
TypeScript/tests/cases/conformance/es6/spread/arraySpreadInCall.ts_0_1108
// @strict: true // @noEmit: true declare function f1(a: number, b: number, c: number, d: number, e: number, f: number): void; f1(1, 2, 3, 4, ...[5, 6]); f1(...[1], 2, 3, 4, 5, 6); f1(1, 2, ...[3, 4], 5, 6); f1(1, 2, ...[3], 4, ...[5, 6]); f1(...[1, 2], ...[3, 4], ...[5, 6]); f1(...(([1, 2])), ...(((([3, 4])))), ...([...
{ "end_byte": 1108, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/spread/arraySpreadInCall.ts" }
TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInArray.ts_0_232
//@target: ES6 class SymbolIterator { next() { return { value: Symbol(), done: false }; } [Symbol.iterator]() { return this; } } var array = [...new SymbolIterator];
{ "end_byte": 232, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/spread/iteratorSpreadInArray.ts" }
TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInArray8.ts_0_177
//@target: ES6 class SymbolIterator { next() { return { value: Symbol(), done: false }; } } var array = [...new SymbolIterator];
{ "end_byte": 177, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/spread/iteratorSpreadInArray8.ts" }
TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall9.ts_0_480
//@target: ES6 class Foo<T> { constructor(...s: T[]) { } } class SymbolIterator { next() { return { value: Symbol(), done: false }; } [Symbol.iterator]() { return this; } } class _StringIterator { next() { return { value: "",...
{ "end_byte": 480, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/spread/iteratorSpreadInCall9.ts" }
TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInArray9.ts_0_206
//@target: ES6 class SymbolIterator { next() { return { value: Symbol() }; } [Symbol.iterator]() { return this; } } var array = [...new SymbolIterator];
{ "end_byte": 206, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/spread/iteratorSpreadInArray9.ts" }
TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall8.ts_0_474
//@target: ES6 class Foo<T> { constructor(...s: T[]) { } } class SymbolIterator { next() { return { value: Symbol(), done: false }; } [Symbol.iterator]() { return this; } } class _StringIterator { next() { return { value: "",...
{ "end_byte": 474, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/spread/iteratorSpreadInCall8.ts" }
TypeScript/tests/cases/conformance/es6/spread/arraySpreadImportHelpers.ts_0_383
// @target: es5 // @importHelpers: true // @isolatedModules: true // @noTypesAndSymbols: true // @noEmit: true // @filename: main.ts export {}; const k = [1, , 2]; const o = [3, ...k, 4]; // @filename: tslib.d.ts // this is a pre-TS4.4 versions of emit helper, which always forced array packing declare module "tslib" ...
{ "end_byte": 383, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/spread/arraySpreadImportHelpers.ts" }
TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInCall7.ts_0_465
//@target: ES6 function foo<T>(...s: T[]) { return s[0]; } class SymbolIterator { next() { return { value: Symbol(), done: false }; } [Symbol.iterator]() { return this; } } class _StringIterator { next() { return { value: "", ...
{ "end_byte": 465, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/spread/iteratorSpreadInCall7.ts" }
TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInArray6.ts_0_263
//@target: ES6 class SymbolIterator { next() { return { value: Symbol(), done: false }; } [Symbol.iterator]() { return this; } } var array: number[] = [0, 1]; array.concat([...new SymbolIterator]);
{ "end_byte": 263, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/spread/iteratorSpreadInArray6.ts" }
TypeScript/tests/cases/conformance/es6/spread/arrayLiteralSpread.ts_0_484
function f0() { var a = [1, 2, 3]; var a1 = [...a]; var a2 = [1, ...a]; var a3 = [1, 2, ...a]; var a4 = [...a, 1]; var a5 = [...a, 1, 2]; var a6 = [1, 2, ...a, 1, 2]; var a7 = [1, ...a, 2, ...a]; var a8 = [...a, ...a, ...a]; } function f1() { var a = [1, 2, 3]; var b = ["hel...
{ "end_byte": 484, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/spread/arrayLiteralSpread.ts" }
TypeScript/tests/cases/conformance/es6/spread/iteratorSpreadInArray10.ts_0_130
//@target: ES6 class SymbolIterator { [Symbol.iterator]() { return this; } } var array = [...new SymbolIterator];
{ "end_byte": 130, "start_byte": 0, "url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/es6/spread/iteratorSpreadInArray10.ts" }