JavaScript DOM Event Object
DOM - Event Object :
Events in JavaScript are considered as objects.
When Events are fired, the 'event' object is generated by the browser. This object encapsulates all data related to that event.
To access or manipulate this object, we can optionally pass it as first argument to the event handler function.
The properties of this object are as follows:
The method of this object is: