By default math is imported in browser javascript and node environment you just use it, ex. to generate a random number between 0 and 1 Math.random()