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:
@ -49,16 +49,4 @@ function combSort (list) {
|
||||
return list
|
||||
}
|
||||
|
||||
/**
|
||||
* Implementation of Comb Sort
|
||||
*/
|
||||
const array = [5, 6, 7, 8, 1, 2, 12, 14]
|
||||
// Before Sort
|
||||
console.log('\n- Before Sort | Implementation of Comb Sort -')
|
||||
console.log(array)
|
||||
// After Sort
|
||||
console.log('- After Sort | Implementation of Comb Sort -')
|
||||
console.log(combSort(array))
|
||||
console.log('\n')
|
||||
|
||||
export { combSort }
|
||||
|
Reference in New Issue
Block a user