What goes in the blank?
// 3.14159 -> "3.14" const label = x.____(2);
Answer: toFixed
toFixed formats a number with a fixed count of decimals and returns a string.
Play Problem Solving ▸
// 3.14159 -> "3.14" const label = x.____(2);
Answer: toFixed