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