Bump to v3.0.1.

This commit is contained in:
jdalton
2015-01-26 20:44:45 -08:00
parent f9606b394c
commit bbec03c4d5
14 changed files with 64 additions and 47 deletions

View File

@@ -1,5 +1,3 @@
var baseToString = require('./baseToString');
/** `Object#toString` result references. */
var boolTag = '[object Boolean]',
dateTag = '[object Date]',
@@ -43,7 +41,7 @@ function equalByTag(object, other, tag) {
case stringTag:
// Coerce regexes to strings and treat strings primitives and string
// objects as equal. See https://es5.github.io/#x15.10.6.4 for more details.
return object == baseToString(other);
return object == (other + '');
}
return false;
}