diff --git a/src/App.vue b/src/App.vue index e8a5f7a42e282916691183588575bd8719291925..dc9a09c6285cdbb4e91fbb8144b20ca61ee2baea 100644 --- a/src/App.vue +++ b/src/App.vue @@ -63,7 +63,7 @@ export default { }, shuffleDeck() { for (let i = this.deck.length - 1; i > 0; i--) { - const j = Math.floor(Math.random() * (i 1)) + const j = Math.floor(Math.random() * (i + 1)) const temp = this.deck[i] this.deck[i] = this.deck[j] this.deck[j] = temp