Skip to content

Scopes: support default parameter initializers #78

@hbenl

Description

@hbenl

From MDN:

The default parameter initializers live in their own scope, which is a parent of the scope created for the function body.

To support this we need to add some information for function scopes:

  • which of the scope's variables are parameters
  • the location range for the special scope for default parameter initializers (i.e. the location range of the function's parameter declarations)

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