web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
480 B

  1. var internalObjectKeys = require('../internals/object-keys-internal');
  2. var enumBugKeys = require('../internals/enum-bug-keys');
  3. var hiddenKeys = enumBugKeys.concat('length', 'prototype');
  4. // `Object.getOwnPropertyNames` method
  5. // https://tc39.es/ecma262/#sec-object.getownpropertynames
  6. // eslint-disable-next-line es/no-object-getownpropertynames -- safe
  7. exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
  8. return internalObjectKeys(O, hiddenKeys);
  9. };