diff --git a/files/en-us/web/api/eventtarget/addeventlistener/index.md b/files/en-us/web/api/eventtarget/addeventlistener/index.md index 38fa53e870b6db9..19bbe0ac2013ccd 100644 --- a/files/en-us/web/api/eventtarget/addeventlistener/index.md +++ b/files/en-us/web/api/eventtarget/addeventlistener/index.md @@ -165,8 +165,7 @@ try { window.addEventListener("test", null, options); window.removeEventListener("test", null, options); -} catch { -} +} catch {} ``` This creates an `options` object with a getter function for the