getOwnPropertyNames (obj) returns all the properties of the object obj . Object.keys(obj) returns all enumerable properties.
確定! 回上一頁