varSet=require('./_Set'),noop=require('./noop'),setToArray=require('./_setToArray');/** Used as references for various `Number` constants. */varINFINITY=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. */varcreateSet=!(Set&&(1/setToArray(newSet([,-0]))[1])==INFINITY)?noop:function(values){returnnewSet(values);};module.exports=createSet;