remove unnecessary console.logs
parent
05bb74e1d3
commit
2636f5f56a
|
@ -107,11 +107,8 @@ class Helper {
|
|||
|
||||
shuffleFirstItem(array) {
|
||||
let first = array[Math.floor(Math.random()*array.length)]
|
||||
console.log(first)
|
||||
array = array.filter((value)=>value!=first);
|
||||
console.log(array)
|
||||
array = [first].concat(array)
|
||||
console.log(array)
|
||||
return array
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue