Array.prototype.push()

var push_arr = ['tokyo','nagoya','osaka'];
document.write(push_arr + '<br>');
var push_arr2 = push_arr.push('fukuoka');
document.write(push_arr2);

See the Pen js: Array.prototype.push() by nwstcode (@nwst) on CodePen.

TagTimes

Simple time tracking tool
Developed by Namu Works