mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 00:01:37 +08:00
Update FisherYatesShuffle.js
removed console statement
This commit is contained in:
@ -16,9 +16,3 @@ export const shuffle = (array) => {
|
||||
|
||||
return array
|
||||
}
|
||||
|
||||
const array = [0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89]
|
||||
console.log('array', array)
|
||||
|
||||
const mixedArray = shuffle(array)
|
||||
console.log('mixedArray', mixedArray)
|
||||
|
Reference in New Issue
Block a user