Skip to content

obj.hasOwnProperty(prop) 是 JavaScript 中 Object 的一个方法,用来检查对象 obj 是否拥有指定的 自有属性 prop