From 46f75d2e2e5ab666b7be88a2607920b7a15c3c15 Mon Sep 17 00:00:00 2001 From: laerpeeK <56966563+laerpeeK@users.noreply.github.com> Date: Sat, 16 Oct 2021 15:08:14 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E5=A0=86=E7=9A=84=E5=9F=BA=E6=9C=AC?= =?UTF-8?q?=E6=93=8D=E4=BD=9C.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\232\204\345\237\272\346\234\254\346\223\215\344\275\234.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/\346\225\260\346\215\256\347\273\223\346\236\204\345\210\206\347\261\273/\345\240\206/\345\240\206\347\232\204\345\237\272\346\234\254\346\223\215\344\275\234.md" "b/\346\225\260\346\215\256\347\273\223\346\236\204\345\210\206\347\261\273/\345\240\206/\345\240\206\347\232\204\345\237\272\346\234\254\346\223\215\344\275\234.md" index 76626be..d412c0b 100644 --- "a/\346\225\260\346\215\256\347\273\223\346\236\204\345\210\206\347\261\273/\345\240\206/\345\240\206\347\232\204\345\237\272\346\234\254\346\223\215\344\275\234.md" +++ "b/\346\225\260\346\215\256\347\273\223\346\236\204\345\210\206\347\261\273/\345\240\206/\345\240\206\347\232\204\345\237\272\346\234\254\346\223\215\344\275\234.md" @@ -91,7 +91,7 @@ if (array.length > 1) { let index = array.length - 1; let target = Math.floor((index - 1) / 2); - while (target >= 0) { array[target]); + while (target >= 0) { if (array[index] < array[target]) { [array[index], array[target]] = [array[target], array[index]] index = target;