DEV Community

Discussion on: Finally Building An Actual Thing

Collapse
 
matthewmayer profile image
Matt Mayer

Congrats! Small tip, use Math.floor instead of Math.round in your random code, otherwise it's biased to give you the last element of the array less often.

Collapse
 
thecodepixi profile image
Emmy | Pixi

Oh this is so good to know, thank you so much!