Search This Blog

Wednesday, November 21, 2018

JavaScript Data Types

In JavaScript there are 5 different data types that can contain values:
  • string
  • number
  • boolean
  • object
  • function

There are 3 types of objects:
  • Object
  • Date
  • Array

And 2 data types that cannot contain values:
  • null
  • undefined