diff --git a/docs/api/globals.md b/docs/api/globals.md index f5fc411dc3..891f13fc9c 100644 --- a/docs/api/globals.md +++ b/docs/api/globals.md @@ -194,6 +194,12 @@ Bun implements the following globals. --- +- [`JSON`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON) +- Web +-   + +--- + - [`MessageEvent`](https://developer.mozilla.org/en-US/docs/Web/API/MessageEvent) - Web -   diff --git a/docs/runtime/web-apis.md b/docs/runtime/web-apis.md index 8ebc070b8c..82108de31d 100644 --- a/docs/runtime/web-apis.md +++ b/docs/runtime/web-apis.md @@ -36,6 +36,11 @@ The following Web APIs are partially or completely supported. --- +- JSON +- [`JSON`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON) + +--- + - Timeouts - [`setTimeout`](https://developer.mozilla.org/en-US/docs/Web/API/setTimeout) [`clearTimeout`](https://developer.mozilla.org/en-US/docs/Web/API/clearTimeout)