JavaScript 对象遍历为什么要使用 hasOwnProperty 检查属性_JavaScript_Lee Chen_InfoQ写作社区