What Are Values in JavaScript? (6 Basic Types!)

What are values in JavaScript?

Javascript has a concept called values.

There are actually 6 fundamental value types:

  1. Numbers
  2. Strings
  3. Booleans
  4. Functions
  5. Objects
  6. Undefined

You can invoke or call a JavaScript Value

If you want to create a value, you simply have to invoke or call it. Of course, these values have to be stored somewhere and that takes up precious computer memory.

The good thing is that when you no longer use this value, it dissolves and opens up room for another value slot.

Leave a Comment