The EventTarget of EventTarget for JS creates a new EventTarget object, which can be used by developers to dispatch and listen for events.
target = new EventTarget();
addEventListener
dispatchEvent
removeEventListener
Web Hypertext Application Technology Working Group (WHATWG)