13 lines
456 B
Text
13 lines
456 B
Text
=== tests/cases/conformance/parser/ecmascript5/RegressionTests/parser630933.ts ===
|
|
var a = "Hello";
|
|
>a : string
|
|
>"Hello" : string
|
|
|
|
var b = a.match(/\/ver=([^/]+)/);
|
|
>b : RegExpMatchArray
|
|
>a.match(/\/ver=([^/]+)/) : RegExpMatchArray
|
|
>a.match : { (regexp: string): RegExpMatchArray; (regexp: RegExp): RegExpMatchArray; }
|
|
>a : string
|
|
>match : { (regexp: string): RegExpMatchArray; (regexp: RegExp): RegExpMatchArray; }
|
|
>/\/ver=([^/]+)/ : RegExp
|
|
|