AI

JavaScript has powerful Math methods and number parsing utilities.

Your Task:

  • Use Math.floor() on decimal to round down → floored
  • Use Math.max() to find the largest of 5, 10, 3 → largest
  • Use parseInt() to convert "42px" to a number → parsed
  • Use Math.random() to generate a random number 0-1 → random
TypeScript Solution
Loading...

Submit your code to see test results