摘要:
阅读全文
摘要:
阅读全文
摘要:
const a=[] console.log(a.constructor) console.log( a instanceof Array) var str=Object.prototype.toString.call(a) console.log(str) var arr=new Array(1, 阅读全文
摘要:
阅读全文
摘要:
阅读全文
摘要:
function Car(){ } var car=new Car() function Person(){ } console.log(car instanceof Car) console.log(car instanceof Object) console.log([] instanceof 阅读全文
摘要:
阅读全文
摘要:
var geyao={ name:"geyao", age:18 } console.log('age' in geyao) //true function Car(){ this.brand='TAGE', this.color='red' } Car.prototype={ displaceme 阅读全文
摘要:
阅读全文