TypeScript/tests/baselines/reference/parser630933.types
2017-03-14 08:06:00 +09:00

14 lines
397 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 | RegExp) => RegExpMatchArray
>a : string
>match : (regexp: string | RegExp) => RegExpMatchArray
>/\/ver=([^/]+)/ : RegExp