601ed70db9a267c5d915849ebabce92327e45da9fb8802a1976ec4923e922d4ff49907d36425d1b6005924ea5228ef0f8ce5ec5a00df884e9b0ea401208591 381 B

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