mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 00:27:50 +00:00
Remove semicolons.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import isSymbol from '../isSymbol.js';
|
||||
import isSymbol from '../isSymbol.js'
|
||||
|
||||
/** Used as references for various `Number` constants. */
|
||||
const NAN = 0 / 0;
|
||||
const NAN = 0 / 0
|
||||
|
||||
/**
|
||||
* The base implementation of `toNumber` which doesn't ensure correct
|
||||
@@ -13,12 +13,12 @@ const NAN = 0 / 0;
|
||||
*/
|
||||
function baseToNumber(value) {
|
||||
if (typeof value == 'number') {
|
||||
return value;
|
||||
return value
|
||||
}
|
||||
if (isSymbol(value)) {
|
||||
return NAN;
|
||||
return NAN
|
||||
}
|
||||
return +value;
|
||||
return +value
|
||||
}
|
||||
|
||||
export default baseToNumber;
|
||||
export default baseToNumber
|
||||
|
||||
Reference in New Issue
Block a user