The data read-only property of the ExtendableMessageEvent interface returns the event's data.
data
MDN Reference