Skip to content
This repository was archived by the owner on Nov 7, 2019. It is now read-only.
This repository was archived by the owner on Nov 7, 2019. It is now read-only.

ES5 'set' throws error. #72

@Synvox

Description

@Synvox

I tried the following in both the online repl and locally though npm.

class Blah {
  get a(){
    alert('getting a');
  }
  set a(){
    alert('setting a');
  }
}

Line 5: Unexpected token )

and...

class Blah {
  get a(){
    alert('getting a');
  }
  set b(){
    alert('setting b');
  }
}

Line 5: Unexpected token )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions