varisSymbol=require('./isSymbol');/** Used as references for various `Number` constants. */varNAN=0/0;/** * The base implementation of `_.toNumber` which doesn't ensure correct * conversions of binary, hexadecimal, or octal string values. * * @private * @param {*} value The value to process. * @returns {number} Returns the number. */functionbaseToNumber(value){if(typeofvalue=='number'){returnvalue;}if(isSymbol(value)){returnNAN;}return+value;}module.exports=baseToNumber;