$ ./guess_the_languageProblem Solving — predict the output
Problem Solving — predict the output · easy · #12

What is the output?

const biggest: number = Math.max(1, 9, 4);
console.log(biggest);
  1. 1
  2. 4
  3. 9
  4. 14
Math.max returns the largest argument, 9.
Play Problem Solving ▸