_object-forced-pam.js 361 B

123456789
  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. });