Was JavaScript the first language to do event driven programming — if not it at least made it popular right? Maybe Erricson’s Erlang did it first? Which came first the actor or the onMouseOver?
Erlang and JavaScript come much much later on in the evolution of programming languages; Erlang originated in the late 1980s, and JavaScript in 1995.
I think Erlang may have been the first production platform to do it, but I'm not sure about that. I suspect the idea has been around for a very long time, and there's probably some obscure language out there from 1960s IBM mainframes that came up with the idea.