1 line
587 B
JSON
1 line
587 B
JSON
{"ast":null,"code":"var Set = require('./_Set'),\n noop = require('./noop'),\n setToArray = require('./_setToArray');\n/** Used as references for various `Number` constants. */\n\n\nvar INFINITY = 1 / 0;\n/**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\n\nvar createSet = !(Set && 1 / setToArray(new Set([, -0]))[1] == INFINITY) ? noop : function (values) {\n return new Set(values);\n};\nmodule.exports = createSet;","map":null,"metadata":{},"sourceType":"script"} |