会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
阳光透过幸福
不管前方的路有多苦,只要走的方向正确,不管多么崎岖不平,都比站在原地更接近幸福。
博客园
首页
新随笔
联系
订阅
管理
2019年12月15日
【js】一些小技巧(1),关于Array.prototype.push,Array.prototype.slice的用法
摘要: 阅读源码的时候会看到这样操作: 1.Array.prototype.push的介绍 var push = Array.prototype.push; push.apply(args, arguments); 为什么会用push.apply,而不是直接push呢? //push.apply var a
阅读全文
posted @ 2019-12-15 12:27 阳光透过幸福
阅读(287)
评论(0)
推荐(0)
编辑
公告