Question · JavaScript and TypeScript course · Module 2: Functions, Arrays and Objects

Number Data Type

Which of the following values are valid for the Number type in JavaScript?

Answer options

  • -40.2 (environment temperature)
  • 65000000 (dinosaur age in years)
  • 12.5 (dinosaur height in meters)
  • All of the above
Show the answer

Correct answer:

  • All of the above