/node_modules/babel-polyfill/node_modules/core-js/library/modules/_object-forced-pam.js

https://bitbucket.org/worklabschd/bingle_customer2 · JavaScript · 9 lines · 6 code · 0 blank · 3 comment · 1 complexity · b22653ef9f9122bbeb471f79f4c6a525 MD5 · raw file

  1. 'use strict';
  2. // Forced replacement prototype accessors methods
  3. module.exports = require('./_library') || !require('./_fails')(function () {
  4. var K = Math.random();
  5. // In FF throws only define methods
  6. // eslint-disable-next-line no-undef, no-useless-call
  7. __defineSetter__.call(null, K, function () { /* empty */ });
  8. delete require('./_global')[K];
  9. });