Skip to content

Commit 5e93c4b

Browse files
committed
Fix declaration of _compare()
It was declared globally
1 parent 4966dea commit 5e93c4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/math/max.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function max() {
3333
}
3434
return ar;
3535
}
36-
}; //function _obj2Array
36+
}, //function _obj2Array
3737
_compare = function (current, next) {
3838
var i = 0,
3939
n = 0,
@@ -107,4 +107,4 @@ function max() {
107107
}
108108

109109
return retVal;
110-
}
110+
}

0 commit comments

Comments
 (0)