Skip to content

Commit

Permalink
Pass ecmaVersion: 11 to acorn
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Aug 11, 2019
1 parent 5c4adf9 commit 286c9af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/assets/JavaScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ class JavaScript extends Text {
locations: true,
tokens: true,
ranges: true,
ecmaVersion: 10,
ecmaVersion: 11,
sourceFile,
sourceType
});
Expand Down

0 comments on commit 286c9af

Please sign in to comment.