Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorXadillaX <i@2333.moe>2021-06-28 11:29:54 +0300
committerJames M Snell <jasnell@gmail.com>2021-08-06 22:45:14 +0300
commite4b1fb5e6422c1ff151234bb9de792d45dd88d87 (patch)
tree141c391ffef9ea45a190ab8c68466dfc124a7217 /doc/api
parent0a7f850123f1b85010e0e91ce6ea1af69a20a010 (diff)
lib: expose `DOMException` as global
Refs: https://github.com/nodejs/node/issues/39098 PR-URL: https://github.com/nodejs/node/pull/39176 Fixes: https://github.com/nodejs/node/issues/39098 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/globals.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/api/globals.md b/doc/api/globals.md
index 8ce4ff1942b..2794009ffbd 100644
--- a/doc/api/globals.md
+++ b/doc/api/globals.md
@@ -380,6 +380,15 @@ added: v0.0.1
[`setTimeout`][] is described in the [timers][] section.
+## `DOMException`
+<!-- YAML
+added: REPLACEME
+-->
+
+<!-- type=global -->
+
+The WHATWG `DOMException` class. See [`DOMException`][] for more details.
+
## `TextDecoder`
<!-- YAML
added: v11.0.0
@@ -430,6 +439,7 @@ The object that acts as the namespace for all W3C
[Mozilla Developer Network][webassembly-mdn] for usage and compatibility.
[`AbortController`]: https://developer.mozilla.org/en-US/docs/Web/API/AbortController
+[`DOMException`]: https://developer.mozilla.org/en-US/docs/Web/API/DOMException
[`EventTarget` and `Event` API]: events.md#event-target-and-event-api
[`MessageChannel`]: worker_threads.md#worker_threads_class_messagechannel
[`MessageEvent`]: https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent/MessageEvent