Data types
A data type refers to the kind of value a variable holds.
JavaScript is a dynamically typed language, meaning the data type is associated with the value, not the variable itself.
For example, a variable that currently holds a number can later be reassigned to a string or an object.
JavaScript broadly classifies data types into two categories:






