Remove semicolons.

This commit is contained in:
John-David Dalton
2017-02-04 23:50:10 -08:00
parent f3a8e55e70
commit 6cb3460fce
452 changed files with 4261 additions and 4261 deletions

View File

@@ -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