Closed this issue 8 years ago · 1 comments
var crunch = new Crunch(); var a = crunch.parse("-9999999999999999"); var b = crunch.parse("0"); var c = crunch.compare(a, b); console.log(c); // 1, should be -1
P.S. May be transformIn is needed for compare.
transformIn
compare
Fixed in pull request #26