Data Types in JavaScript

·

1 min read

Datatypes are used o hold and store variables. Understanding datatypes is essential to writing javascript code, as every data type behaves differently.

We have different types of Datatypes in Javascript.:
1. Numbers

2. String

  1. Boolean

  2. Undefined

  3. Null

  4. Arrays