js-数组方法push时间:2023-03-08 20:10:15 <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]