πŸ”₯ Datatypes in JavaScript

β˜‘οΈ What are Datatypes ?

It defines the category for data which will be stored in a variable

β˜‘οΈ Types of Datatypes ?

a. Primitive
b. Object/Reference

β˜‘οΈ Primitive Datatypes ?

The datatypes which hold only single value at a time is called Primitive Datatype

Example: number, Boolean, character, String, null, undefined

β˜‘οΈ Object/Reference Datatypes ?

The non-primitive datatypes are called object based/reference data types

Ex: Arrays, Objects itself.

29