Computers are great at boring, repetitive tasks. Loops handle that.
Published: March 15, 2020 Difficulty: Beginner Cohort: Spring 2020 javascript beginner bootcamp (2020)
let favoriteBand = "The Weeknd"; // String let albumsOwned = 3; // Number let isGoingOnTour = true; // Boolean console.log(typeof favoriteBand); // Output: "string" Functions are reusable spells. You define them once, then call them whenever you need. Computers are great at boring, repetitive tasks
In 2020, we don’t use var anymore (long story, full of bugs). We use let and const . Computers are great at boring
But before you build the next billion-dollar startup, you need to learn how to talk to the computer.