User:CjaicjaOCjao/sandbox

Math functions
Math.floor(x) rounds x down to a whole number

Math.ceil(x) rounds x up to a whole number

Math.random generates a number between 0 and 1

Math.trunc(x) returns the integer of x by removing fractional digits

Math.round(x) returns x rounded to the nearest integer

Arrays
Arrays are