摘要: 数组的常用方法汇总 1. reverse <script type="text/javascript"> // reverse() 会改变原数组 返回值是翻转后的数组 let a = [10,20,8,5,6] let a1 = a.reverse() // 数组翻转,即颠倒数组中元素的位置 con 阅读全文
posted @ 2020-12-10 11:24 彭正坤 阅读(78) 评论(0) 推荐(0) 编辑