News for hackers. Stuff that matters.
Re:How true hackers write JavaScript by dvlsg on Wednesday September 05, 2018 @04:38PM (#17921696)
You are allowed to use both event and element, as they aren't strictly reserved keywords.

I think it's generally frowned upon, though. For example, I believe "event" is defined as a global in browsers (on window, perhaps?), so you run the risk of shadowed variables and accidentally referring to the wrong thing.

There are no comments on this comment yet.