Bump ecmaVersion to 2019 (supports optional catch binding)

parent c128bfbf
......@@ -11,7 +11,7 @@ module.exports = function (src) {
var ast = parse(src, {
range: true,
ecmaVersion: 8
ecmaVersion: 2019
});
ast.body = ast.body.filter(function(node) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment