Files

9 lines
135 B
JavaScript

"use strict";
function throwingMethod() {
// eslint-disable-next-line no-throw-literal
throw "my-exception";
}
throwingMethod();