var ar=[112,44,55,66,77,88,99,'00',77]; var ar1=['ddd','fff','ggg']; //concat() 拼接一个或多个数组: //console.log(ar.concat(['a','b','c'])) console.log(ar.concat(ar1)); //push() 从数组后面添加元素 ar1.push('hhh',456,'fdsfdsa'); console.log(ar1) //unshift() 从数组前面添加元素:…