JavaScript provides different data types to hold different types of values. There are two types of data types in JavaScript:

1. Primitive values

2. Non-primitive values or Composite(object references)

Data types that are known as primitive values in JavaScript are numbers, strings, booleans, null, undefined. …

Sivakumar Neelakandan

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store