Bubble Sort

Sort an array using bubble sort

bubbleSort([4,3,2,1]) // [1,2,3,4]

Last updated