From 28343d2cc3c42cc5e0ae24f21bb7b8ab4e9e330e Mon Sep 17 00:00:00 2001 From: Abose Ukhun Date: Mon, 16 Oct 2017 13:05:33 +0100 Subject: [PATCH] add console printing for after sorting --- Sorts/bubblesort.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Sorts/bubblesort.js b/Sorts/bubblesort.js index 307b2b2b0..d398a5ad6 100644 --- a/Sorts/bubblesort.js +++ b/Sorts/bubblesort.js @@ -27,6 +27,7 @@ console.log("-----before sorting-----") console.log(ar); bubbleSort(ar); //Array after sort +console.log("-----after sorting-----") console.log(ar); /*alternative implementation of bubble sort algorithm.