Skip to content

Is it true that dictionaries can't have a default value specified? #585

@bzbarsky

Description

@bzbarsky

There's informative text in https://heycam.github.io/webidl/#idl-operations that says:

Dictionary types cannot have a default value specified explicitly

however it seems to me that null would be a valid default value for a dictionary (meaning empty dictionary, once you go through the es-to-dictionary steps).

@tobie @domenic @marcoscaceres @annevk

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