shapesecurity / shift-parser-js

ECMAScript parser that produces a Shift format AST
http://shift-ast.org/parser.html
Apache License 2.0
248 stars 28 forks source link

ES2017 support #372

Closed ghost closed 5 years ago

ghost commented 6 years ago

Add support for ES8 language constructs:

function f(a,b,) {}
async function() {}

(also for methods and arrow functions)

bakkot commented 5 years ago

Version 6.0.0 has support for ES2017.