摘要: js数组类型: 数组检测 1.判断变量是否为数组类型: arr1 instanceof Array Array.isArray(arr1); true 转换方法 toString()方法,以便返回数组的字符串表示 valueOf()返回的还是数组 由于 alert()要接收字符串参数,所以它会在后台 阅读全文
posted @ 2017-10-13 00:11 一锤子技术员 阅读(1) 评论(0) 推荐(0) 编辑