Object.hasOwnProperty( prop 键名 ) 返回:Boolean 布尔值 示例: var obj = {a:1,b:2,c:3} var bol = Object.hasOwnProperty("a"); 结果: bol = true