Last change
on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
340 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | 'use strict';
|
---|
| 2 | var $ = require('../internals/export');
|
---|
| 3 | var ObjectIterator = require('../internals/object-iterator');
|
---|
| 4 |
|
---|
| 5 | // `Object.iterateKeys` method
|
---|
| 6 | // https://github.com/tc39/proposal-object-iteration
|
---|
| 7 | $({ target: 'Object', stat: true }, {
|
---|
| 8 | iterateKeys: function iterateKeys(object) {
|
---|
| 9 | return new ObjectIterator(object, 'keys');
|
---|
| 10 | }
|
---|
| 11 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.