swc/packages/helpers/esm/_read_only_error.js

5 lines
135 B
JavaScript

export function _read_only_error(name) {
throw new TypeError("\"" + name + "\" is read-only");
}
export { _read_only_error as _ };