mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-25 06:02:30 +08:00
style: Fixed most styles (according to standardjs)
This commit is contained in:
@ -18,7 +18,7 @@ Array.prototype.wiggleSort = function () {
|
||||
|
||||
// Implementation of wiggle sort
|
||||
|
||||
var arr = [3, 5, 2, 1, 6, 4]
|
||||
const arr = [3, 5, 2, 1, 6, 4]
|
||||
// Array before Wiggle Sort
|
||||
console.log(arr) // [3, 5, 2, 1, 6, 4]
|
||||
|
||||
|
Reference in New Issue
Block a user