Bump to v4.15.0.

This commit is contained in:
John-David Dalton
2016-08-11 23:33:03 -07:00
parent c733f930dc
commit a06bf83085
57 changed files with 700 additions and 446 deletions

View File

@@ -1,5 +1,4 @@
var isFunction = require('./isFunction'),
isObject = require('./isObject'),
var isObject = require('./isObject'),
isSymbol = require('./isSymbol');
/** Used as references for various `Number` constants. */
@@ -51,7 +50,7 @@ function toNumber(value) {
return NAN;
}
if (isObject(value)) {
var other = isFunction(value.valueOf) ? value.valueOf() : value;
var other = typeof value.valueOf == 'function' ? value.valueOf() : value;
value = isObject(other) ? (other + '') : other;
}
if (typeof value != 'string') {