.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / object-prototype-accessors-forced.js
1 'use strict';
2 var IS_PURE = require('../internals/is-pure');
3 var global = require('../internals/global');
4 var fails = require('../internals/fails');
5
6 // Forced replacement object prototype accessors methods
7 module.exports = IS_PURE || !fails(function () {
8   var key = Math.random();
9   // In FF throws only define methods
10   // eslint-disable-next-line no-undef, no-useless-call -- required for testing
11   __defineSetter__.call(null, key, function () { /* empty */ });
12   delete global[key];
13 });