TypeScript/tests/cases/compiler/arrayConcat2.ts

8 lines
126 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
var a: string[] = [];
a.concat("hello", 'world');
a.concat('Hello');
var b = new Array<string>();
b.concat('hello');