pushメソッド

構文
myArray = new Array("red", "green", "blue", "yellow");
 document.write("追加前の配列", myArray);
	myArray.push("purple");
  document.write("追加後の配列", myArray);
実行結果