Get the latest tech news
Show HN: JavaScript PubSub in 163 Bytes
pubsub in 163 bytes. Contribute to hassanshaikley/pico-pubsub development by creating an account on GitHub.
If you have any ideas that may trim off even one single byte please share it. Coming in at #2 we have nano-pubsub which slims down to an impressive 194b...Not bad at all! If you don't want to use the window object just do this, just know it'll cost ya 7 bytes:
Or read this on Hacker News