🔥 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