Lesson 2: one more exercise

Daniel Tanaka 10 months ago
parent ea541eea33 commit a5da5285a5eaef432ed833b7461b9a413297c8e0
1 changed files with 1 additions and 0 deletions
+1-0lessons/02-functions-and-arrow-functions/exercises.md
@@ -3,3 +3,4 @@
33 1. Run `functions.js` and change one value. Write down what you expect, then run it again and compare.
44 2. Make the example ask for its input instead of using a fixed value.
55 3. Explain the example to someone who hasn't taken the course. Which part was hardest to explain?
6+4. What happens with an empty input? Change the code so it handles that case with a clear message.