You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
284 B
JavaScript
7 lines
284 B
JavaScript
7 years ago
|
// Forced replacement prototype accessors methods
|
||
|
module.exports = require('./_library')|| !require('./_fails')(function(){
|
||
|
var K = Math.random();
|
||
|
// In FF throws only define methods
|
||
|
__defineSetter__.call(null, K, function(){ /* empty */});
|
||
|
delete require('./_global')[K];
|
||
|
});
|