Files
cssd-back/node_modules/core-js/modules/_add-to-unscopables.js
T
2019-07-15 13:07:31 +04:30

8 lines
297 B
JavaScript
Vendored

// 22.1.3.31 Array.prototype[@@unscopables]
var UNSCOPABLES = require('./_wks')('unscopables');
var ArrayProto = Array.prototype;
if (ArrayProto[UNSCOPABLES] == undefined) require('./_hide')(ArrayProto, UNSCOPABLES, {});
module.exports = function (key) {
ArrayProto[UNSCOPABLES][key] = true;
};