js-数组方法push时间:2022-01-19 19:02:55 <script type="text/javascript"> var arr=[1,2,3,4,5] arr.push(6,7) console.log(arr) </script> 打印结果:[1,2,3,4,5,6,7]