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
You could refactor rgbaColors() not to produce 0.0, the value you check for in the if statement.
Maybe use something like Math.floor(Math.random() * (max - min + 1)) + min which will generate a number between min( inclusive ) and max( inclusive ).
The text was updated successfully, but these errors were encountered:
You could refactor rgbaColors() not to produce 0.0, the value you check for in the if statement.
Maybe use something like
Math.floor(Math.random() * (max - min + 1)) + min
which will generate a number between min( inclusive ) and max( inclusive ).The text was updated successfully, but these errors were encountered: