mirror of https://github.com/gorhill/uBlock.git
parent
0025ab9721
commit
2c674f14ac
|
@ -64,7 +64,7 @@
|
|||
* @returns {Error} Throws a `RangeError` with the applicable error message.
|
||||
*/
|
||||
function error(type) {
|
||||
throw RangeError(errors[type]);
|
||||
throw new RangeError(errors[type]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue