Usage:
var ee = pub();
ee.on('*', (p, e) => console.log(`${e} trigged: ${p}`)); // Called for all events (returns all * listeners)
ee.on("load", d = (t, e) => console.log(`Page loaded in ${t}ms`)); // Returns an array of all listeners for that event (minus * listeners)
ee.emit("load", 2323); // Returns the return values of the .on() functions, in this order: [...specific listeners, ...* listeners]
ee.off("load", d); // Returns the new array of listeners