mirror of
https://github.com/Doodle3D/Doodle3D-API
synced 2024-12-23 22:13:48 +01:00
8 lines
210 B
JavaScript
8 lines
210 B
JavaScript
|
/* */
|
||
|
var UNSCOPABLES = require("./$.wks")('unscopables');
|
||
|
if (!(UNSCOPABLES in []))
|
||
|
require("./$").hide(Array.prototype, UNSCOPABLES, {});
|
||
|
module.exports = function(key) {
|
||
|
[][UNSCOPABLES][key] = true;
|
||
|
};
|