Skip to content

Commit

Permalink
bugfix: quantity generate of Dezenas for Lt Mega and LT Fácil
Browse files Browse the repository at this point in the history
  • Loading branch information
LuanKisaki committed Apr 4, 2024
1 parent fbe565f commit 7c82ac0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loto.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function generateDezenasMega() {
}

let partialDezena = "";
for (let i = 1, n = ltMega.length; i < quantDezenas.value; ++i) {
for (let i = 0, n = ltMega.length; i < quantDezenas.value; ++i) {
partialDezena +=
Math.floor(Math.random() * n)
.toString()
Expand All @@ -126,7 +126,7 @@ function generateDezenasFacil() {
}

let partialDezena = "";
for (let i = 1, n = ltFacil.length; i < quantDezenas.value; ++i) {
for (let i = 0, n = ltFacil.length; i < quantDezenas.value; ++i) {
partialDezena +=
Math.floor(Math.random() * n)
.toString()
Expand Down

0 comments on commit 7c82ac0

Please sign in to comment.