Skip to content

Commit

Permalink
Update Shell to use Context.VERSION_ES6 by default
Browse files Browse the repository at this point in the history
resolves #1279
  • Loading branch information
tonygermano authored and gbrail committed Sep 17, 2024
1 parent f8a0a82 commit 06d5f67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
public class ShellContextFactory extends ContextFactory {
private boolean strictMode;
private boolean warningAsError;
private int languageVersion = Context.VERSION_1_8;
private int languageVersion = Context.VERSION_ES6;
private int optimizationLevel;
private boolean generatingDebug;
private boolean allowReservedKeywords = true;
Expand Down

0 comments on commit 06d5f67

Please sign in to comment.