type Event Property in JavaScript
type Event Property in JavaScript
The type event property is used to return the type of the triggered event.
Syntax:-
Its syntax is:- event.type
Return:-
Its return is:- a string containing type of the event