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

This commit is contained in:
undefinedIsMyLife
2025-11-18 21:57:43 +00:00
committed by GitHub
parent 51c93c229b
commit a46e57b82d
@@ -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--