Array.prototype.sort(comparefn) was casting the result of the compare to an int, which lost when the compare function returned (ecma-valid) strange double values. These now get clamped to -1, 0, 1. git-svn-id: svn://10.0.0.236/trunk@1570 18797224-902f-48f8-a5cc-f745e15eee43
30 KiB
30 KiB