Final answer:
There are four options to get data from an event in JavaScript: attaching event listeners and extracting data through callback functions, directly accessing event properties within the event handler, utilizing a separate module to capture event data asynchronously, and applying event delegation for efficient data retrieval.
Step-by-step explanation:
When working with events in JavaScript, there are several ways to extract data from an event. Option 1 involves attaching event listeners to elements and then extracting the data through callback functions. Option 2 allows you to directly access event properties within the event handler. Option 3 involves utilizing a separate module to capture event data asynchronously. Option 4 involves applying event delegation for efficient data retrieval.