Skip to content

[Option 3] Have a way to set the internal slot from JS #1

@lucacasonato

Description

@lucacasonato

This is needed to be able to:

  • faithfully polyfill objects that are defined by specs using WebIDL
  • implement objects that are defined by specs using WebIDL (Node.js and Deno do this extensively)

This likely boils down to something like Object.markInternal(v, bool) or by having a Symbol.notThenable property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions