Skip to content

Document required ECMAscript version #911

Open
@fhammerschmidt

Description

@fhammerschmidt

I don't think we have documented the requirements on the JS version / spec at the moment.

Starting with v12, ES6 (ECMAScript 2015) is required because we are now making use of the following ES6 features:

  • let keyword
  • arrow functions
  • spread operator

Originally posted by @cknitt in rescript-lang/rescript#7030 (comment)


Document for both:

  • v11 is mostly es5 (some stdlib functions may already have been es6)
  • v12 is just es6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions