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.
9 lines
361 B
9 lines
361 B
'use strict'; |
|
// Forced replacement prototype accessors methods |
|
module.exports = require('./_library') || !require('./_fails')(function () { |
|
var K = Math.random(); |
|
// In FF throws only define methods |
|
// eslint-disable-next-line no-undef, no-useless-call |
|
__defineSetter__.call(null, K, function () { /* empty */ }); |
|
delete require('./_global')[K]; |
|
});
|
|
|