var arr = [1,2,3];
arr.push(4);
//arr [1,2,3,4]
arr.unshift(0);
//arr[0,1,2,3,4]
arr.pop();
//arr[0,1,2,3]
arr.shift()
//arr[1,2,3]
a.concat(b);
a.join("-");
var arr = [1,2,3];
arr.push(4);
//arr [1,2,3,4]
arr.unshift(0);
//arr[0,1,2,3,4]
arr.pop();
//arr[0,1,2,3]
arr.shift()
//arr[1,2,3]
a.concat(b);
a.join("-");