From 982485bef2aabc03a23eca9ec92affabb403d573 Mon Sep 17 00:00:00 2001 From: taurus05 <41040631+taurus05@users.noreply.github.com> Date: Sun, 2 Jun 2024 23:58:33 +0530 Subject: [PATCH] Update 13_day_console_object_methods.md keyword typo --- 14_Day_Error_handling/13_day_console_object_methods.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)