Skip to content

Commit

Permalink
add fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pri1311 committed Apr 13, 2022
1 parent 2c829c3 commit a8dc9dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/order.js
Expand Up @@ -260,7 +260,7 @@ function getSorter(ascending) {
const a = A.length;
const b = B.length;

for (let i = 0; i < Math.min(a,b); i++) {
for (let i = 0; i < Math.min(a, b); i++) {
if (A[i] < B[i]) {
result = -1;
break;
Expand Down

0 comments on commit a8dc9dd

Please sign in to comment.