JavaScript-UI-and-DOM/JS-UI-DOM-Homeworks & Exams/ImportantTemplates/03.EventModel/EventModel.js
//The event object is accessible as the only argument of the function handler
The event object is accessible as the only argument of the function handler
The event object is accessible as the only argument of the function handler
function onButtonClick(event) {
    console.log(event.target);
    console.log(event.type);
    console.log(event.clientX, event.clientY);
}
function onButtonClick ( event ) { console . log ( event . target ) ; console . log ( event . type ) ; console . log ( event . clientX , event . clientY ) ; }
The event object is accessible as the only argument of the function handler
The event object is accessible as the only argument of the function handler