摘要: 1.Array.prototype.slice方法数组的 slice 方法通常用来从一个数组中抽取片断。不过,它还有将“类数组”(比如arguments和​HTMLCollection​)转换为真正数组的本领。1 var nodesArr = Array.prototype.slice.call(d... 阅读全文
posted @ 2015-01-08 00:27 阿郎博客 阅读(1399) 评论(6) 推荐(4) 编辑