🚧 施工中
Last updated 2 years ago
Was this helpful?
⟩ error
An Error object has a name property that specifies the type of error and a message property.
throw new Error('<error message here>')
where errors occur
⛔️ SyntaxError / ⛔️ ReferenceError / ⛔️ TypeError
when errors occur
runtime error / compile-time error
what to do with errors
error handling
⟩