See also 📢 Dead simple tweetable JavaScript Emitter pattern module using Map (ES2015) which uses this package.
Browser compatibility (all)
| Chrome* | Edge | FF | IE | Opera | Safari | iOS | 
|---|---|---|---|---|---|---|
| 38 | 12 | 13 | -* | 25 | 7.1 | 8 | 
Notes:
- Chrome includes mobile Chrome.
 - IE 11 does not support only arrow functions, they can be replaced with 
function. Also, incomplete Set support means the hand-minified version does not work. 
This gist's motivation was to create the simplest full-feature PubSub service.
One might want to check that argument of
onis a function to prevent a future type error.Some inspiration: https://gist.github.com/learncodeacademy/777349747d8382bfb722