mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-06 17:50:39 +08:00
Merge pull request #31 from bexis13/master
fix typo in bubble sort description
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*Bubble Sort is a algorithm to sort a array it
|
||||
* copares adjacent element and swaps thier position
|
||||
/*Bubble Sort is a algorithm to sort an array. It
|
||||
* compares adjacent element and swaps thier position
|
||||
*/
|
||||
function bubbleSort(items) {
|
||||
var length = items.length;
|
||||
|
Reference in New Issue
Block a user