JavaScript is a dynamically typed language, meaning you don't need to declare the variable type
in advance; the value determines the type. There are seven basic data types: String (text),
Number (numbers), Boolean (logical values), Undefined (unassigned value),
Null (empty value), Object (complex structures), and Symbol (unique
identifiers). Understanding these types is crucial for code to work correctly.