Hacker News new | ask | show | jobs
by TazeTSchnitzel 4085 days ago
You don't even need an event emitter. In many cases you might just use switch(){}.