JavaScript Objects #
Built-in #
All sorts of goodies that come by default.
Console #
_Should probably link this to js-console.
Math #
For more details
.floor() #
Rounds down to whole number
console.log(Math.floor(Math.random())) // a little bit of encapsulation
.random() #
get a random number between 0 and 1:
console.log(Math.random())