Commit ea671c6b by doszhang

dos

parent a5843acb
...@@ -106,7 +106,7 @@ function randomFlagArr(length) { ...@@ -106,7 +106,7 @@ function randomFlagArr(length) {
for (let i = 0; i < arr.length; i++) { for (let i = 0; i < arr.length; i++) {
arr[i] = RandomNumBoth(0, length - 1); arr[i] = RandomNumBoth(0, length - 1);
} }
arr.sort(function () { arr.sort(function (a, b) {
return a - b; return a - b;
}); });
return arr; return arr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment