1 | ;
|
2 |
|
3 | var getPolyfill = require('./polyfill');
|
4 | var define = require('define-properties');
|
5 |
|
6 | module.exports = function shimValues() {
|
7 | var polyfill = getPolyfill();
|
8 | define(Object, { values: polyfill }, {
|
9 | values: function testValues() {
|
10 | return Object.values !== polyfill;
|
11 | }
|
12 | });
|
13 | return polyfill;
|
14 | };
|