My solution proposals for the Debugging exercises.
freeCodeCamp module description:
"Debugging is the process of going through your code, finding any issues, and fixing them. Issues in code generally come in three forms: syntax errors that prevent your program from running, runtime errors where your code has unexpected behavior, or logical errors where your code doesn't do what you intended. In this course, you'll learn how to use the JavaScript console to debug programs and prevent common issues before they happen."
- 01 - Use the JavaScript Console to Check the Value of a Variable
- 02 - Understanding the Differences between the freeCodeCamp and Browser Console
- 03 - Use typeof to Check the Type of a Variable
- 04 - Catch Misspelled Variable and Function Names
- 05 - Catch Unclosed Parentheses, Brackets, Braces and Quotes
- 06 - Catch Mixed Usage of Single and Double Quotes
- 07 - Catch Use of Assignment Operator Instead of Equality Operator
- 08 - Catch Missing Open and Closing Parenthesis After a Function Call
- 09 - Catch Arguments Passed in the Wrong Order When Calling a Function
- 10 - Catch Off By One Errors When Using Indexing
- 11 - Use Caution When Reinitializing Variables Inside a Loop
- 12 - Prevent Infinite Loops with a Valid Terminal Condition