const target = new EventTarget()
const e = new Event('ping')
target.dispatchEvent(e) // dispatches the eventUse dispatchEvent() to fire a custom event on any EventTarget.
Passing { bubbles: true } as the second argument to new Event() creates a bubbling event.
Challenge: Verify that new Event('x', { bubbles: true }).bubbles is true.