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
Boolean
Undefined
Null
Arrays