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

Fill the blank

// returns the absolute value of n
function abs(n) {
  return Math.____(n);
}

Answer: abs (also accepted: abs, abs())

Math.abs() returns the absolute value of a number.
Play Problem Solving ▸