To push an object to an array in JavaScript, call the push() method on the array with the object as an argument, i.e., arr.push(obj) .
確定! 回上一頁