- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 js 数组常用方法总结
. 数组转字符串 join(); var colors= ["red","green","yellow"]; colors.join(","); //red,green,yellow colors.join("||") //red||green||yellow . 数组添加和取出值有栈方法:push(),pop() 和对列方法 shift(),unshift() var colors
2016-05-31 14:58:35 213
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人