Create an empty function
JavaScript version
const noop = () => {};
// Or
const noop = Function();
// calling Function() might be detected as using eval by some security tools
JavaScript version
const noop = () => {};
// Or
const noop = Function();
// calling Function() might be detected as using eval by some security tools