JavaScript Basics

Variables and Constants

Use "let" for variables and "const" for constants.

Functions

A function groups a set of statements and gives them a name.