Error Handling and Debugging: Keeping Your Code Reliable

Challenge Instructions

Expected Output

Code Editor

javascript
Hello! I'm here to assist you with the code. What seems to be the problem?
Why is my code throwing a type error on line 5?