Skip to content

Figure out what to do about new JavaScript private member #syntax #94

Open
@jattasNI

Description

@jattasNI

The JavaScript feature to set class members as private by prefixing their name with # is now supported in all modern browsers. This issue tracks its impact on our coding conventions.

Things to look into:

  1. do our conventions currently allow the syntax in JS code? Should they?
  2. do our conventions currently allow the syntax in TS code? Should they?
    • TypeScript obviously has its own private member syntax (via the private keyword). We should see if they've expressed an opinion about how that syntax will interact with the JS syntax.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions