@w5s/errorClassesEvalErrorSur cette pageEvalError Alias to native globalThis.EvalError@exampleimport { EvalError } from '@w5s/error';try { throw new EvalError("Hello");} catch (e) { console.log(e instanceof RangeEvalErrorError); // true console.log(e.message); // "Hello" console.log(e.name); // "EvalError" console.log(e.stack); // Stack of the error}HierarchyErrorEvalErrorIndex ConstructorsconstructorPropertiesnameConstructors externalconstructornew EvalError(message?: string): EvalErrornew EvalError(message?: string, options?: ErrorOptions): EvalErrorProperties namename: EvalError
Alias to native globalThis.EvalError