Skip to content

Variables

Store values to use later.

String

Strings are anything in quotes, usually letters or words.

js
let name = "Steve";

integer

Integers are numbers without decimals.

js
let age = 24;

float

Floats are numbers with decimals.

js
let angle = 31.8;

boolean

Booleans are either True or False.

js
let isRaining = true;