name
const err = new Error('x') typeof err.name // β 'string'
The name property is always a string that identifies the error type.
new ReferenceError().name returns 'ReferenceError'.
new ReferenceError().name
'ReferenceError'
Challenge: Verify the name.