日期:2014-05-16 浏览次数:20420 次
function myType(x, y){
this.x = x;
this.y = y;
}
var array = new Array();
function myType(x, y){
this.x = x;
this.y = y;
}
var array = new Array();
array[0] = new myType(1,2);
array[1] = new myType(3,4);
array[3] = new myType(5,6);