5.2 Some key points about Math
From Day 20
Math.random()
will generate random numbers less than 1.0.- If
random = 8.9999
, thenMath.round(random) = 9
butMath.floor(random) = 8
. Math
is parallel withd3
, sod3.Math....
is unnecessary and wrong.