[Home] >  Function >  Create an empty function

Create an empty function

JavaScript version

const noop = () => {};

// Or
const noop = Function();
// calling Function() might be detected as using eval by some security tools