Modern Javascript/Example of using the let keyword
0 XP of 1767 XP
// Task

Using the let keyword, fix the error so that the program outputs 3000 in the first case and 2000 in the second case. Leave the rest of the code unchanged.

🔒 localhost
Section 3 · Lesson 10Free Preview

Example of using the let keyword

IDE50 XP0:40
// lesson_notes