Data Types in JavaScript
In this article, we look at the JavaScript Data Types. JavaScript is a loosely typed dynamic language. It is loosely typed because you will never specify a data type of a variable. It is a dynamic language because you can assign any value to any variable whenever you wish to. But it does not mean that JavaScript does not have data types. We do not need to specify the data type, But the JavaScript interpreter interprets the data type of the variable and generates the executable code accordingly.