FireEdgeX
0
All tracksJavaScript

LESSON 01 ยท JAVASCRIPT

Values and variables

Variables give readable names to values your program needs to use.

5 min readIn progress

THE IDEA

Understand the concept

A variable binds a name to a value so the program can reuse it. Prefer const when a binding will not be reassigned, and use let when reassignment is part of the intended logic; the value itself may still be mutable.

WORKED EXAMPLE

See it in context

Example