原型对象

  可以使用对象的hasOwnProperty()来检查对象自身中是否含有该属性,传入对象的属性,返回布尔值

原文地址:https://www.cnblogs.com/nailc/p/9323254.html