const e = new Event('x')
e.stopImmediatePropagation() // stops all remaining listeners on the same targetstopImmediatePropagation() prevents other listeners on the same element from running.
stopPropagation() prevents the event from bubbling up the DOM tree after the current listener runs.
Challenge: Verify that typeof new Event('x').stopPropagation is 'function'.