web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
319 B

  1. 'use strict';
  2. var getPolyfill = require('./polyfill');
  3. var define = require('define-properties');
  4. module.exports = function shimEntries() {
  5. var polyfill = getPolyfill();
  6. define(Object, { entries: polyfill }, {
  7. entries: function testEntries() {
  8. return Object.entries !== polyfill;
  9. }
  10. });
  11. return polyfill;
  12. };