21 lines
1.1 KiB
Text
21 lines
1.1 KiB
Text
=== tests/cases/compiler/library_RegExpExecArraySlice.ts ===
|
|
// RegExpExecArray.slice can have zero, one, or two arguments
|
|
var regExpExecArrayValue: RegExpExecArray;
|
|
>regExpExecArrayValue : Symbol(regExpExecArrayValue, Decl(library_RegExpExecArraySlice.ts, 1, 3))
|
|
>RegExpExecArray : Symbol(RegExpExecArray, Decl(lib.d.ts, 820, 1))
|
|
|
|
regExpExecArrayValue.slice();
|
|
>regExpExecArrayValue.slice : Symbol(Array.slice, Decl(lib.d.ts, 1048, 15))
|
|
>regExpExecArrayValue : Symbol(regExpExecArrayValue, Decl(library_RegExpExecArraySlice.ts, 1, 3))
|
|
>slice : Symbol(Array.slice, Decl(lib.d.ts, 1048, 15))
|
|
|
|
regExpExecArrayValue.slice(0);
|
|
>regExpExecArrayValue.slice : Symbol(Array.slice, Decl(lib.d.ts, 1048, 15))
|
|
>regExpExecArrayValue : Symbol(regExpExecArrayValue, Decl(library_RegExpExecArraySlice.ts, 1, 3))
|
|
>slice : Symbol(Array.slice, Decl(lib.d.ts, 1048, 15))
|
|
|
|
regExpExecArrayValue.slice(0,1);
|
|
>regExpExecArrayValue.slice : Symbol(Array.slice, Decl(lib.d.ts, 1048, 15))
|
|
>regExpExecArrayValue : Symbol(regExpExecArrayValue, Decl(library_RegExpExecArraySlice.ts, 1, 3))
|
|
>slice : Symbol(Array.slice, Decl(lib.d.ts, 1048, 15))
|
|
|