From 5c5c59b29a7ea32979226f808f44cef148a3fda2 Mon Sep 17 00:00:00 2001 From: Vladyslav <108009204+gmoinbong@users.noreply.github.com> Date: Sat, 11 Jan 2025 01:42:38 +0200 Subject: [PATCH] Fix typo in variable name in selection sort example --- 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 18567c46..b1e37c6c 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]