Create functions exercise from Javascript in Easy Steps (pg 19). I'm doing basic review working my way up. Once I'm on a more advanced level I can progress to the exercises in Eloquent Javascript
Questions to answer after completing the code:
- Check that the functions work as intended. It appears they do not.
- Could the default parameters alert lead to this function not working? Looks like yes.
- The answers were supposed to be 64, 28, 18, 82. Only 64 was found.
- Are there any unexpected errors? Yes. It seems like any character I type here is showing up as an error inflating the error count
- I would like to know what went wrong here. It feels like there should be a way to tweak the syntax so I get the correct answers