12 lines
239 B
TypeScript
12 lines
239 B
TypeScript
var myCars=new Array();
|
|
var myCars3 = new Array({});
|
|
var myCars4: Array; // error
|
|
var myCars5: Array<any>[];
|
|
|
|
myCars = myCars3;
|
|
myCars = myCars4;
|
|
myCars = myCars5;
|
|
|
|
myCars3 = myCars;
|
|
myCars3 = myCars4;
|
|
myCars3 = myCars5;
|