UNPKG

d2-ui

Version:
11 lines (8 loc) 296 B
'use strict'; var getPolyfill = require('./polyfill'); var define = require('define-properties'); module.exports = function shimValues() { var polyfill = getPolyfill(); define(Object, { values: polyfill }, { values: function () { return Object.values !== polyfill; } }); return polyfill; };