Append the element to the end of the array: let fruits = ["Apple", "Orange"]; fruits.push("Pear"); alert( fruits ); // Apple, Orange, Pear.
確定! 回上一頁