js
丨疯小孩丨
这个作者很懒,什么都没留下…
展开
-
opthtml5 安装说明
opthtml5 安装说明原创 2022-12-20 14:18:39 · 113 阅读 · 1 评论 -
实现 bind 方法
// bind 实现 // 1.返回一个函数 // 2.除了第一个this外 后面接收一堆参数 // 3.改变this的函数可以执行new方法 Function.prototype.bindTwo = function(that, ...arg) { let _this = this; function bindFn(...arg2) { // 判断是否执行了 new 方法 this instanceof.原创 2021-06-07 15:22:56 · 219 阅读 · 0 评论