remove unnecessary console.logs

main
ClaraCrazy 2024-11-11 19:00:07 +01:00
parent 05bb74e1d3
commit 2636f5f56a
No known key found for this signature in database
GPG Key ID: EBBC896ACB497011
1 changed files with 0 additions and 3 deletions

View File

@ -107,11 +107,8 @@ class Helper {
shuffleFirstItem(array) { shuffleFirstItem(array) {
let first = array[Math.floor(Math.random()*array.length)] let first = array[Math.floor(Math.random()*array.length)]
console.log(first)
array = array.filter((value)=>value!=first); array = array.filter((value)=>value!=first);
console.log(array)
array = [first].concat(array) array = [first].concat(array)
console.log(array)
return array return array
} }