Is it possible to call a IIFE function again without reloading the page? Similar to the way you call a regular function.
Not unless the IIFE itself is inside a function, and you trigger that function itself again, eg
const fn = () => {
(() => {
// do stuff
})();
};
fn();
fn();
Which is weird.
If you want to be able to call something more than once, you should put into a variable so it can be referenced again - a regular named function
const fn = () => {
// do stuff
};
fn();
fn();
An IIFE is designed to be the sort of thing that (usually) runs exactly once. If you want to run something multiple times, an IIFE is not the right tool for the job.