Introduction to JavaScript Data Types

Object types

Object types are complex structure types that are passed by reference. The most common structures are

  • Object: Key/value collections.
  • Array: List of values.
  • Set: List of unique values.
  • Date: Represents a single moment in time in a platform-independent format.

We can create instances of these complex types by using the new keyword.