Remove testing code in function file

This commit is contained in:
Charlie Moore
2021-10-05 08:53:05 -04:00
parent 11315ea449
commit 782386a11a

View File

@ -61,14 +61,4 @@ function bucketSort (list, size) {
return sorted
}
// Testing
const arrOrignal = [5, 6, 7, 8, 1, 2, 12, 14]
// > bucketSort(arrOrignal)
// [1, 2, 5, 6, 7, 8, 12, 14]
// Array before Sort
console.log(arrOrignal)
const arrSorted = bucketSort(arrOrignal)
// Array after sort
console.log(arrSorted)
export { bucketSort }