You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Async Typer UI - getRandomBetween() not behaving as expected because it's being called with strings #230
When passed to getRandomBetween() here, typeMin and typeMax are still strings taken directly from el.dataset. Not sure exactly how the function is treating these numeric strings under the hood, but it's not parsing them as ints:
Activity
AlvaroCastroC commentedon Nov 28, 2023
Olá, é provável que na linha 27, onde:
O el.dataset, esteja passando os valores em string. tente adicionar nessa linha de código o parseInt:
Talvez consiga converter esses valores em numbers.