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:
387 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | 'use strict';
|
---|
| 2 | // TODO: Remove from `core-js@4`
|
---|
| 3 | var $ = require('../internals/export');
|
---|
| 4 | var 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.