10 months ago
6 lines393 B
Exercises: lesson 2
- Run
functions.jsand change one value. Write down what you expect, then run it again and compare. - Make the example ask for its input instead of using a fixed value.
- Explain the example to someone who hasn't taken the course. Which part was hardest to explain?
- What happens with an empty input? Change the code so it handles that case with a clear message.