fix: change const to let

Signed-off-by: Slowlife <slowlife1165@gmail.com>
This commit is contained in:
Slowlife
2025-04-06 16:12:14 +07:00
committed by GitHub
parent 8af25b4c67
commit 4ecccd67bd

View File

@@ -209,7 +209,7 @@
// Please note that calling sort on an array will modify that array.
// you might want to clone your array first.
for (const i = 0; i < a.length; ++i) {
for (let i = 0; i < a.length; ++i) {
if (a[i] !== b[i]) return false;
}
return true;