Built-in Objects

  • JavaScript has some useful built-in methods and objects
  • For operations with dates, use the Date object
  • For advanced math, use the Math methods
  • Browser APIs
const random = Math.random();
const test = Math.sin(Math.PI / 6);

const today = new Date();
const month = today.getMonth()

9 / 32