3 lines
85 B
JavaScript
3 lines
85 B
JavaScript
export const invalidFunction = (message) => () => {
|
|
throw new Error(message);
|
|
};
|