In Javascript, all function arguments are optional by default. That means if you ever forget to pass a critical parameter, the code will just fail without warning you what went wrong.
There are many
workarounds for this, and in this lesson, you will learn one of the easiest and foolproof methods of solving this problem.