Hacker News new | ask | show | jobs
by moritzwarhier 11 days ago
For the event part, I think you could replace it by using EventTarget?

https://developer.mozilla.org/en-US/docs/Web/API/EventTarget

But by this, I don't wanna say you should. It's also of course newer than what jQuery did, and might be inspired by it (just like Sizzle influenced the QuerySelector API, and CoffeeScript influenced arrow functions).