javascript empty function

JavaScript
const func = () => {};
// Or
const func = Function();
Source

Also in JavaScript: