摘要: var thisExtends = function () { var args = [].slice.call(arguments).filter(function (item) { return item.mi !== undefined; }); return args; ... 阅读全文
posted @ 2019-06-01 23:10 expworld 阅读(611) 评论(0) 推荐(0) 编辑
摘要: 两者区别: call(this,1,2,3,4):一个是函数运行的作用域(this),另一个是必须列举出来的参数。 apply(this,arguments):一个是函数运行的作用域(this),另一个是参数数组。 两者相同点: 1、都是在特定的作用域中调用函数,等于设置函数体内this对象的值,以 阅读全文
posted @ 2019-06-01 22:33 expworld 阅读(380) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/155757d2b9eb <!-- wxPay --SDK--> <script src="https://res.wx.qq.com/open/js/jweixin-1.4.0.js"></script> goWXPay(obj){ //wxpa 阅读全文
posted @ 2019-06-01 18:36 expworld 阅读(1768) 评论(0) 推荐(0) 编辑
摘要: 源代码: 应用: 阅读全文
posted @ 2019-06-01 16:39 expworld 阅读(233) 评论(0) 推荐(0) 编辑