JS常用处理数组的方法

JS常用处理数组的方法

一、概述 join( ) ————————数组转字符串 split( ) ———————–字符串转数组 push( ) ———————-将数据添加到数组尾部 pop( ) ———————–数组末尾移除最后一项 shift
JavaScript80