JavaScript anatomy
function
identifier
parameter
argument
to call
return
default parameters
function declaration
function expressoin
arrow function notation
const getActualSleepHours = () =>
random number generator
Math.floor()
Math.random()
Math.floor(Math.random() * 3)
switch ()
case 0: return x
case 1: return y
...