89bc866b5a3159ff56ab0b79c2a82b8fd0fbf17b514eebec08f477991c762f0c91eb8f65dab782f1d9b984f8967080d2bc6ff7900df5021cf52514af17caf0 737 B

1234567891011121314151617
  1. 'use strict';
  2. var IS_PURE = require('../internals/is-pure');
  3. var global = require('../internals/global');
  4. var fails = require('../internals/fails');
  5. var WEBKIT = require('../internals/engine-webkit-version');
  6. // Forced replacement object prototype accessors methods
  7. module.exports = IS_PURE || !fails(function () {
  8. // This feature detection crashes old WebKit
  9. // https://github.com/zloirock/core-js/issues/232
  10. if (WEBKIT && WEBKIT < 535) return;
  11. var key = Math.random();
  12. // In FF throws only define methods
  13. // eslint-disable-next-line no-undef, no-useless-call, es/no-legacy-object-prototype-accessor-methods -- required for testing
  14. __defineSetter__.call(null, key, function () { /* empty */ });
  15. delete global[key];
  16. });