blob: a680e98489b12fd5eefc81760c53b17c97eae1eb [file] [log] [blame]
Tim van der Lippefdbd42e2020-04-07 15:14:36 +01001'use strict';
2
3var getPolyfill = require('./polyfill');
4var define = require('define-properties');
5
6module.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};