Skip to content

Commit

Permalink
don't force ES version as we support some newer features now
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Jun 19, 2024
1 parent 516df3b commit 14d7fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
var board = Espruino.Core.Env.getBoardData();
var tasks = 0;
try {
var ast = acorn.parse(code, { ecmaVersion : 6 });
var ast = acorn.parse(code);
var tasks = [];
// function xyz() { "compiled" ... }
ast.body.forEach(function(node) {
Expand Down

0 comments on commit 14d7fe0

Please sign in to comment.