try { null.x } catch(e) {
e instanceof TypeError // β true
e instanceof Error // β true
}All built-in error subtypes inherit from Error, so instanceof Error is always true.
EvalError is another Error subtype. new EvalError('x').name is 'EvalError'.
Challenge: Verify the name.