initial with empty function javscript code example Example: javascript empty function const func = () => {}; // Or const func = Function();