8000 ::new collision? · Issue #29 · tc39/proposal-bind-operator · GitHub
[go: up one dir, main page]

Skip to content
::new collision? #29
@bmeck

Description

@bmeck

Isn't

class Foo {
  static new() {
    console.log(123);
  }
}
Foo.new();
new Foo();

ambiguous with regard to Foo::new, shouldn't it be something more like new::Foo?

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

      0