Event Object

What is event object?

In JavaScript, the event object is automatically created by the browser and passed to the event handler. It includes details like the clicked button, pressed key, mouse position, and more.