Based on this definition, it should be using `Object.keys` - I believe `getOwnPropertyNames` only differs in that it returns non-enumerable keys?