Lines Matching defs:Error
25 * Basic checks for Error constructors.
31 print(Error.name + " is a " + typeof(Error));
39 print("Error.arity " + Error.length);
47 var err = new Error("my error");
51 print(e instanceof Error);
81 // prototypes of Error constructors are not writable
82 Error.prototype = {};
83 print(Error.prototype.name);