Skip to content

Should iterator prototype object next functions be enumerable? #739

Open
@domenic

Description

@domenic

https://heycam.github.io/webidl/#es-iterator-prototype-object (and the corresponding part of #720) says they are. Their ECMAScript counterparts are not.

Unlike #738, here I lean toward making them non-enumerable, as these objects are in some sense "entirely ECMAScript-like". The method in question doesn't share a location with enumerable methods corresponding to Web IDL operations.

But, I don't care that much. If we want to keep these enumerable, we should at least add a note about the intentional divergence from ECMAScript.

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