mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-06 09:28:26 +08:00
Fix style per standard js rules
This commit is contained in:
@ -22,7 +22,7 @@
|
|||||||
* @param {number[]} list The array of numbers to sort.
|
* @param {number[]} list The array of numbers to sort.
|
||||||
* @return {number[]} The array of numbers sorted in increasing order.
|
* @return {number[]} The array of numbers sorted in increasing order.
|
||||||
*/
|
*/
|
||||||
function combSort(list) {
|
function combSort (list) {
|
||||||
if (list.length === 0) {
|
if (list.length === 0) {
|
||||||
return list
|
return list
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user