main
Last change
on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
387 bytes
|
Line | |
---|
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.