diff options
Diffstat (limited to 'alarm/node_modules/lodash/_createSet.js')
-rw-r--r-- | alarm/node_modules/lodash/_createSet.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/alarm/node_modules/lodash/_createSet.js b/alarm/node_modules/lodash/_createSet.js deleted file mode 100644 index 0f644ee..0000000 --- a/alarm/node_modules/lodash/_createSet.js +++ /dev/null @@ -1,19 +0,0 @@ -var Set = require('./_Set'), - noop = require('./noop'), - setToArray = require('./_setToArray'); - -/** Used as references for various `Number` constants. */ -var INFINITY = 1 / 0; - -/** - * Creates a set object of `values`. - * - * @private - * @param {Array} values The values to add to the set. - * @returns {Object} Returns the new set. - */ -var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) { - return new Set(values); -}; - -module.exports = createSet; |