Skip to content

Replace var with let or const as appropriate. #3435

@curran

Description

@curran

I'm curious, what the stance is in terms of adopting let and const in this repo?

Possible approaches:

  • Consistently ES5 (var only)
  • Consistently ES6 (e.g. would a PR be welcome that converts all var to let & const?)
  • Allow internal inconsistency (mixed var, let, const within & between files)

This relates to how PRs should be reviewed with respect to usage of these keywords. Thanks!

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