typo in Ox.isEqual
This commit is contained in:
parent
110be11a05
commit
cd38e66240
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ Ox.isEqual = function(a, b) {
|
|||
ret = a !== 0 || 1 / a === 1 / b;
|
||||
} else if (type == Ox.typeOf(b)) {
|
||||
// NaN !== NaN, but equal
|
||||
if (a == b || a !== b) {
|
||||
if (a == b || a !== a) {
|
||||
ret = true;
|
||||
} else if (type == 'date') {
|
||||
ret = +a == +b;
|
||||
|
|
Loading…
Reference in a new issue