直接建立一個object的方法: ... employees.push({id:100,name:'Yashwant',age:30}); ... Javascript中物件(objects)與陣列(arrays)的區分與值的取得 12 6 月 ...
確定! 回上一頁