mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-07 02:05:08 +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
|
/*Bubble Sort is a algorithm to sort an array. It
|
||||||
* copares adjacent element and swaps thier position
|
* compares adjacent element and swaps thier position
|
||||||
*/
|
*/
|
||||||
function bubbleSort(items) {
|
function bubbleSort(items) {
|
||||||
var length = items.length;
|
var length = items.length;
|
||||||
|
Reference in New Issue
Block a user