DEV Community

Sanjay Sugumar
Sanjay Sugumar

Posted on

Java Script Day One

Primitive Data Type

Primitive data types in JavaScript represent simple, immutable values stored directly in memory, ensuring efficiency in both memory usage and performance.

  1. Number
  2. String
  3. Boolean
  4. Null
  5. Undefined
  6. Symbol
  7. Bigint

Non-Primitive Data Types

  1. Object
  2. Arrays
  3. Function
  4. Date Object
  5. Regular Expression

Variable:

  1. var keyword
  2. let keyword
  3. const keyword

function:
code reuseable use the function

Top comments (0)