js深复制使用

商品列表根据排序来操作,可以定义两个数组,数组A每次操作之前深复制数组B  es6方法  var arrA = [...arrB]

posted @ 2018-08-17 18:20  fm060  阅读(104)  评论(0)    收藏  举报