★ Constructor
The `RangeError` object constructor
RangeError()
RangeError()constructor(
problem: string,
fix: string,
id?: Id,
min?: Min,
max?: Max,
template = RangeError.template
) {
super(problem, fix, id, template, { min, max });
this.#max = max;
this.#min = min;
}Parameters
problem:string
problem:stringfix:string
fix:stringid?:Id
id?:IdExample usage
Last updated