摘要:
// 判断属性是否存在于实例对象中 for-in function Person(name, age) { this.name = name; this.age = 20; } var p = new Person(); console.log('name' in p) //true //判断一个属性是否存在原型中 function hasPrototypeProper... 阅读全文
posted @ 2016-07-07 17:17
goweb
阅读(1538)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2016-07-07 13:56
goweb
阅读(1167)
评论(0)
推荐(0)

浙公网安备 33010602011771号