Merge pull request #7383 from Slowlife01/patch-1

fix: change const to let
This commit is contained in:
mr. m
2025-04-06 11:14:18 +02:00
committed by GitHub

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;