getOwnPropertyNames (a) 返回对象 a 的所有自身属性。 Object.keys(a) 返回所有自己的可枚举属性。这意味着,如果在不使某些对象成为 enumerable: ...
確定! 回上一頁