JavaScript: Data Types and Type Conversion
JavaScript variables are dynamically typed. That means variables do not have any fixed type, we don’t have to define/set type explicitly. The type of the variable can change during execution. For example, a variable can contain a string and then later it can contain a number, and later some other data.