TypeScript/tests/baselines/reference/parser630933.types
2016-09-01 14:25:44 -07:00

14 lines
457 B
Plaintext

=== tests/cases/conformance/parser/ecmascript5/RegressionTests/parser630933.ts ===
var a = "Hello";
>a : string
>"Hello" : "Hello"
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