JavaScript Data Types

By joyal_easycodelearner | 22 Apr 2026 | Topic: Learn

Data types are of eight in JavaScript,Seven Primitive types and one non-primitive types

  1. Numbers (let and there are special numeric values infinity ,-infinity ,BigInt and NaN)
  2. BigInt
  3. String
  4. Boolean
  5. Null
  6. Undefined
  7. Symbols


Non Primitive type

8.Objects

The typeof operator allows us to see which type is stored in each variable.


← Back to Topic