TypeScript/tests/baselines/reference/parser630933.types
2015-04-15 16:44:20 -07:00

14 lines
456 B
Plaintext

=== 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