What is JavaScript?
JavaScript (often abbreviated as JS) is a lightweight, interpreted, object-oriented programming language that powers the dynamic behavior on most websites. Unlike HTML (structure) and CSS (styling), JavaScript provides logic.
Variables: let, const, var
Variables are named containers used to store data. In modern JavaScript (ES6+), there are three ways to declare variables.
Data Types
JavaScript variables can hold many data types. It is a dynamically typed language, meaning typing is not strictly enforced upon initialization (unlike Java or C).