2020年8月6日
摘要: function Student(){} //创建一个函数 var str = new Student(); // new 一个对象 str.__proto__ Student.prototype //true 实例str的__proto__ 等价于,函数Student的原型prototype st 阅读全文
posted @ 2020-08-06 14:28 Steven_YF 阅读(0) 评论(0) 推荐(0) 编辑
摘要: undefined 在布尔类型中,表示false var a; if(!a) { console.log(输出true); } 阅读全文
posted @ 2020-08-06 14:17 Steven_YF 阅读(75) 评论(0) 推荐(0) 编辑