Skip to content

Javascript Beginner Bootcamp - (2020)

In 2020, we don’t use var anymore (long story, full of bugs). We use let and const .

| Type | What it holds | Example | |------|---------------|---------| | String | Text | "I love pizza" | | Number | Numbers | 42 , 3.14 | | Boolean | True/False | true , false | | Undefined | Nothing yet | let ghost; | javascript beginner bootcamp (2020)

Published: March 15, 2020 Difficulty: Beginner Cohort: Spring 2020 In 2020, we don’t use var anymore (long

Computers are great at boring, repetitive tasks. Loops handle that. | Published: March 15

// Count from 1 to 5 for (let i = 1; i <= 5; i++) console.log("Loop number: " + i);

Share to...