js arry:

    var arry = [];

js object:

     var obj = {};

     obj定义属性: obj.filename='';  obj.id='';

把 obj 添加到 arry

     arry.push(obj);

相关文章: