mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 00:01:37 +08:00
Remove testing code in function file
This commit is contained in:
@ -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 }
|
||||
|
Reference in New Issue
Block a user