JavaScript is loosely typed and dynamic. There are seven so-called default primitive types of data, which we can define as different data types. These data types do not have variables associated with them—any JavaScript variable can be rapidly changed between one type or another .