Error
.
prototype
.
name
The error name string.
Syntax
name
Examples
let
err
=
new
Error
(
"test error"
)
err
.
name
"Error"