Skip to content

Support for ECMAScript 6 and 7 #71

Open
@erikd

Description

@erikd

This implements features for es 6 & 7.

  • const and let
  • arrow expressions
  • import
  • export
  • default arguments
  • object matching (destructuring, single name bind)
  • spread operator
  • classes + extends
  • template strings

Each of these should be implemented in a separate PR and each item needs tests. There are likely to be three tests needed, one for the appropriate XParser.hs test and one in each if Minify.hs and RoundTrip.hs.

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