$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #93

Complete the function

// returns the larger of a and b
function bigger(a: number, b: number): number {
  return Math.____(a, b);
}
// bigger(3, 7) -> 7

Answer: max (also accepted: max, max())

Math.max() returns the largest of its arguments.
Play Problem Solving ▸