随笔分类 -  探究系列

前端系列随笔
摘要:1.变量声明 提升: console.log(typeof a); // undefined var a = 1; console.log(typeof a); // number 执行过程 相当于: var a; console.log(typeof a); // undefined a = 1; 阅读全文
posted @ 2018-04-24 17:02 驸马爷 阅读(1636) 评论(2) 推荐(0) 编辑
摘要:原创:转载注明出处,谢谢 :) 阅读全文
posted @ 2018-04-22 22:09 驸马爷 阅读(321) 评论(0) 推荐(0) 编辑
摘要:1.全局上下文中 this 2.函数上下文的 this 3.对象属性中的 this 4.构造函数 和 原型方法中的 this 5.应用 call、apply、bind 方法后的 this 原创:转载注明出处,谢谢 :) 阅读全文
posted @ 2018-04-22 22:06 驸马爷 阅读(742) 评论(0) 推荐(0) 编辑
摘要:1.全局上下文中的 this this 指向 2.函数上下文的 this 严格模式: this 指向 非严格模式: this 指向 复杂测试: this 指向 3.对象属性中的 this this 指向... 阅读全文
posted @ 2018-04-22 21:55 驸马爷 阅读(355) 评论(0) 推荐(0) 编辑
摘要:原创:转载注明出处,谢谢 :) 阅读全文
posted @ 2018-04-22 21:43 驸马爷 阅读(178) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示