jsHowToDatatypes.md - brainchildservices/curriculum GitHub Wiki

Different ways/types to Use Datatypes

There are eight basic data types in JavaScript. They are:

image

Here, all data types except Object are primitive data types, whereas Object is non-primitive.

image

Note: The Object data type (non-primitive type) can store collections of data, whereas primitive data type can only store a single data.