11 lines
275 B
JavaScript
11 lines
275 B
JavaScript
|
var $ = require('../internals/export');
|
||
|
var $values = require('../internals/object-to-array').values;
|
||
|
|
||
|
// `Object.values` method
|
||
|
// https://tc39.es/ecma262/#sec-object.values
|
||
|
$({ target: 'Object', stat: true }, {
|
||
|
values: function values(O) {
|
||
|
return $values(O);
|
||
|
}
|
||
|
});
|