const e = new Event('x')
e.isTrusted // β false (created by script, not user)isTrusted is true for events dispatched by the browser, false for programmatic events.
The cancelable property is true when the event was constructed with { cancelable: true }.
Challenge: Verify that new Event('x', { bubbles: true, cancelable: true }).cancelable is true.