source: imaps-frontend/node_modules/core-js/modules/es.object.get-own-property-names.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 577 bytes
RevLine 
[79a0317]1'use strict';
2var $ = require('../internals/export');
3var fails = require('../internals/fails');
4var getOwnPropertyNames = require('../internals/object-get-own-property-names-external').f;
5
6// eslint-disable-next-line es/no-object-getownpropertynames -- required for testing
7var FAILS_ON_PRIMITIVES = fails(function () { return !Object.getOwnPropertyNames(1); });
8
9// `Object.getOwnPropertyNames` method
10// https://tc39.es/ecma262/#sec-object.getownpropertynames
11$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
12 getOwnPropertyNames: getOwnPropertyNames
13});
Note: See TracBrowser for help on using the repository browser.