TOC
wwworkshop
Juicy Workshop

3.4
Variables

Variables can be used to refer to some value. Variables created using the keyword let can be reassigned (changed) later, while variables created using const cannot.

There are various types of values, such as text (strings), numbers or booleans (true or false).

Variables

let example1 = 'this is an example'
const example2 = 'this is another example'

Values

let text = 'this is an example'
let number = 2
let anotherNumber = 2.2
let boolean = true