TypeScript/tests/baselines/reference/parser630933.types

12 lines
410 B
Text
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/conformance/parser/ecmascript5/RegressionTests/parser630933.ts ===
var a = "Hello";
>a : 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; }