Skip to content

Commit

Permalink
Update files/en-us/web/api/eventtarget/addeventlistener/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
zhangenming and github-actions[bot] authored Sep 29, 2024
1 parent 790d4ca commit 09e1235
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions files/en-us/web/api/eventtarget/addeventlistener/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 09e1235

Please sign in to comment.