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

Matching Data Types

Dr. Wu is organizing data in the lab. Which data-to-JavaScript-type match is INCORRECT?

Answer options

  • No sample data β†’ null
  • Sample age in years β†’ Boolean
  • Is the sample complete β†’ Boolean
  • Dinosaur species name β†’ String
Show the answer

Correct answer:

  • Sample age in years β†’ Boolean