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