2020年6月28日

488 DOM0和DOM2事件绑定的原理、使用、区别

摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <link rel="stylesheet" href="css/reset.min.css"> <style> html, body { height: 100 阅读全文

posted @ 2020-06-28 14:22 冲啊! 阅读(218) 评论(0) 推荐(0) 编辑

487 函数的三种角色:普通函数,构造函数(类),普通对象,原型链清明上河图

摘要: 滴滴考察原型、原型链面试题 Function.prototype.a = () => { console.log(1) } Object.prototype.b = () => { console.log(2) } function A () {} const a = new A() a.a() / 阅读全文

posted @ 2020-06-28 10:17 冲啊! 阅读(190) 评论(0) 推荐(0) 编辑

导航