Skip to content

after checking for parameter presence, consistently use one of "set" or "let" #3677

@michaelficarra

Description

@michaelficarra

Like

If _proto_ is not present, set _proto_ to %Array.prototype%.

or

If _hostDefined_ is not present, let _hostDefined_ be ~empty~.

I think we mostly say "set" in these cases, but there are some occurrences that use "let". I prefer "set" since I consider even optional parameters to already declare the alias.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions