Node-Red configuration
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.

own-keys.js 734B

123456789101112131415
  1. 'use strict';
  2. var getBuiltIn = require('../internals/get-built-in');
  3. var uncurryThis = require('../internals/function-uncurry-this');
  4. var getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');
  5. var getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');
  6. var anObject = require('../internals/an-object');
  7. var concat = uncurryThis([].concat);
  8. // all object keys, includes non-enumerable and symbols
  9. module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
  10. var keys = getOwnPropertyNamesModule.f(anObject(it));
  11. var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
  12. return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
  13. };