source: node_modules/core-js-pure/modules/esnext.object.iterate-keys.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 387 bytes
RevLine 
[d24f17c]1'use strict';
2// TODO: Remove from `core-js@4`
3var $ = require('../internals/export');
4var ObjectIterator = require('../internals/object-iterator');
5
6// `Object.iterateKeys` method
7// https://github.com/tc39/proposal-object-iteration
8$({ target: 'Object', stat: true, forced: true }, {
9 iterateKeys: function iterateKeys(object) {
10 return new ObjectIterator(object, 'keys');
11 }
12});
Note: See TracBrowser for help on using the repository browser.