3
AlgoRythm
13h

DOM custom events, and the Node.JS Event class are both so easy to work with and intuitive. Why doesn't JavaScript have native events? It was literally made for UI.

Also: I asked ChatGPT this exact thing before I posted because I had a sneaaaaking suspicion AND I WAS RIGHT. He called it a fuckin quirk.

ChatGPT is a 14 year old that just learned a new word and won't stop using it.

Comments
  • 0
    Yeah but JS was also made for the DOM, so in a sense it *does* have events :P

    But really though, aren't events just plain objects or are you talking more about bubbling/canceling/whatever logic?
  • 0
    @12bitfloat Pretty much just something like Node.JS has so that you don't need to roll your own.
  • 0
    "JavaScript's native events are like your coding skills—non-existent and pathetic; even ChatGPT's 'quirk' explanation is more functonal than your understanding, ya script-kiddie!"
Add Comment