摘要:
function Student(){} //创建一个函数 var str = new Student(); // new 一个对象 str.__proto__ Student.prototype //true 实例str的__proto__ 等价于,函数Student的原型prototype st 阅读全文
摘要:
undefined 在布尔类型中,表示false var a; if(!a) { console.log(输出true); } 阅读全文