Skip to content

Commit

Permalink
Update files/en-us/web/api/workerglobalscope/error_event/index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena authored Sep 11, 2024
1 parent 0d23518 commit 44098a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion files/en-us/web/api/workerglobalscope/error_event/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ addEventListener("error", (event) => {});
onerror = (message, filename, lineno, colno, error) => {};
```

> **Note:** For historical reasons, `onerror` on {{domxref("Window")}} and `WorkerGlobalScope` objects is the only event handler property that receives more than one argument.
> [!NOTE]
> For historical reasons, `onerror` on {{domxref("Window")}} and `WorkerGlobalScope` objects is the only event handler property that receives more than one argument.
>
> For more details about this, see the page for the {{domxref("Window.error_event", "error")}} event on `Window` objects.
Expand Down

0 comments on commit 44098a1

Please sign in to comment.