From 9ed0658636905f7d6a4b6206f57ebd3856f03b85 Mon Sep 17 00:00:00 2001 From: Vladyslav <108009204+gmoinbong@users.noreply.github.com> Date: Fri, 2 May 2025 02:25:03 +0300 Subject: [PATCH] Fix typo in variable name in selection sort example (#304) --- 02_selection_sort/javascript/01_selection_sort.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02_selection_sort/javascript/01_selection_sort.js b/02_selection_sort/javascript/01_selection_sort.js index 18567c4..b1e37c6 100644 --- a/02_selection_sort/javascript/01_selection_sort.js +++ b/02_selection_sort/javascript/01_selection_sort.js @@ -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] \ No newline at end of file +console.log('New sorted array - ', sortedArray); // [2, 3, 5, 6, 10]