Skip to content

javascript.builtins.Symbol - Symbol.{dispose, asyncDispose} available in node18.18.0, deno1.37.0 and Safari 18.3 #26216

@ikeyan

Description

@ikeyan

What type of issue is this?

Incorrect support data (example: BrowserX says "86" but support was added in "40")

What information was incorrect, unhelpful, or incomplete?

Nodejs support for Symbol.dispose and Symbol.asyncDispose

What browsers does this problem apply to, if applicable?

Node.js, Deno and Safari

What did you expect to see?

The support was added in the node18.18.0 release.
The support was added in the deno 1.37.0 release.
They are available at least on Safari 18.3

Did you test this? If so, how?

$ asdf install nodejs 18.18.0
$ ~/.asdf/installs/nodejs/18.18.0/bin/node
Welcome to Node.js v18.18.0.
Type ".help" for more information.
> Symbol.dispose
Symbol(nodejs.dispose)
> Symbol.asyncDispose
Symbol(nodejs.asyncDispose)
$ asdf install deno 1.37.0
$ ~/.asdf/installs/deno/1.37.0/bin/deno
Deno 1.37.0
exit using ctrl+d, ctrl+c, or close()
REPL is running with all permissions allowed.
To specify permissions, run `deno repl` with allow flags.
> Symbol.dispose
Symbol(Symbol.dispose)
> Symbol.asyncDispose
Symbol(Symbol.asyncDispose)

In Safari's Web inspector:

> Symbol.dispose
< Symbol(Symbol.dispose)
> Symbol.asyncDispose
< Symbol(Symbol.asyncDispose)

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol

MDN metadata

MDN page report details
  • Query: javascript.builtins.Symbol
  • Report started: 2025-03-14T12:33:08.651Z

### Tasklist

### Tasks
- [x] Deno
- [x] Node.js
- [ ] Safari

Metadata

Metadata

Assignees

No one assigned

    Labels

    data:jsCompat data for JS/ECMAScript features. https://developer.mozilla.org/docs/Web/JavaScriptp2High priority – Community PRs highly encouraged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions