Skip to content

Commit 9ed0658

Browse files
authored
Fix typo in variable name in selection sort example (#304)
1 parent 9ff7468 commit 9ed0658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

02_selection_sort/javascript/01_selection_sort.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ const sourceArray = [5, 3, 6, 2, 10];
3636
const sortedArray = selectionSort(sourceArray);
3737

3838
console.log('Source array - ', sourceArray); // [5, 3, 6, 2, 10]
39-
console.log('New sorted array - ', sourtedArray); // [2, 3, 5, 6, 10]
39+
console.log('New sorted array - ', sortedArray); // [2, 3, 5, 6, 10]

0 commit comments

Comments
 (0)