摘要: apply call bind 是Function.prototype 下的方法,用于改变函数运行时的上下文,若没有返回值,则返回undefined; 使用apply() 可以继承其他对象的方法 注意:apply()第一个参数是null,在 非严格模式下,第一个参数为 null 或 undefine 阅读全文
posted @ 2019-05-28 16:35 luobinziyue 阅读(232) 评论(0) 推荐(0) 编辑