fix(curriculum): correct “error” to “Error” constructor in debugging techniques lesson (#63963)

This commit is contained in:
undefinedIsMyLife 2025-11-19 03:27:43 +05:30 committed by GitHub
parent 51c93c229b
commit a46e57b82d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -119,7 +119,7 @@ Think of a way to catch and handle errors without crashing the program.
## --text--
How do you use the `throw` statement in combination with the `error` constructor in JavaScript?
How do you use the `throw` statement in combination with the `Error` constructor in JavaScript?
## --answers--