Fix typo in variable name in selection sort example (#304)

This commit is contained in:
Vladyslav
2025-05-02 02:25:03 +03:00
committed by GitHub
parent 9ff7468e9e
commit 9ed0658636

View File

@@ -36,4 +36,4 @@ const sourceArray = [5, 3, 6, 2, 10];
const sortedArray = selectionSort(sourceArray);
console.log('Source array - ', sourceArray); // [5, 3, 6, 2, 10]
console.log('New sorted array - ', sourtedArray); // [2, 3, 5, 6, 10]
console.log('New sorted array - ', sortedArray); // [2, 3, 5, 6, 10]