码迷,mamicode.com
首页 > 其他好文 > 详细

Array.prototype.slice.call()方法详解

时间:2019-06-25 11:40:39      阅读:110      评论:0      收藏:0      [点我收藏+]

标签:tps   nts   log   集合   pos   对象   post   除了   target   

Array.prototype.slice.call()方法详解

Array.prototype.slice.call(arguments)能将具有length属性的对象转成数组,除了IE下的节点集合(因为ie下的dom对象是以com对象的形式实现的,js对象与com对象不能进行转换) 

 

Array.prototype.slice.call()方法详解

标签:tps   nts   log   集合   pos   对象   post   除了   target   

原文地址:https://www.cnblogs.com/yangai/p/11081820.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!