Data Types in JS

Number

Floating Point , Numbers

Ex : let age = 23;
String

Sequence of Characters

Ex : let firstName = "Madhu";
Boolean

Logical type that can only be True or False

Ex : let fullAge = true;
Undefined

Value taken by a variable that is not yet defined

Ex : let children = undefined;
Null

Also means Null and Empty Value

Ex : let age = null
Symbol

Values that is Unique and Can not be changed.

Ex : const sym1 = Symbol();
BigInt

Values that is Unique and Can not be changed.

Ex : const bigInt = BigInt(1234567890123456789012345);