diff --git a/14_Day_Error_handling/13_day_console_object_methods.md b/14_Day_Error_handling/13_day_console_object_methods.md index d9fba8dbd..a45f1192d 100644 --- a/14_Day_Error_handling/13_day_console_object_methods.md +++ b/14_Day_Error_handling/13_day_console_object_methods.md @@ -99,7 +99,7 @@ Name of the error ReferenceError Error message fistName is not defined In any case I will be executed ``` -throw: the throw statement allows us to create a custom error. We can through a string, number, boolean or an object. Use the throw statement to throw an exception. When you throw an exception, expression specifies the value of the exception. Each of the following throws an exception: +throw: the throw statement allows us to create a custom error. We can throw a string, number, boolean or an object. Use the throw statement to throw an exception. When you throw an exception, expression specifies the value of the exception. Each of the following throws an exception: ```js throw 'Error2' // generates an exception with a string value throw 42 // generates an exception with the value 42 @@ -161,4 +161,4 @@ Practice ### Exercises:Level Practice 🎉 CONGRATULATIONS ! 🎉 -[<< Day 13](../13_Day_Console_object_methods/13_day_console_object_methods.md) | [Day 15>>](../15_Day_Classes/15_day_classes.md) \ No newline at end of file +[<< Day 13](../13_Day_Console_object_methods/13_day_console_object_methods.md) | [Day 15>>](../15_Day_Classes/15_day_classes.md)