Always evaluate an expression for JS

People were complaining too much
This commit is contained in:
1computer1 2019-05-22 13:28:38 -04:00
parent 7c5203bc1d
commit cf1589eb2f
3 changed files with 3 additions and 15 deletions

View file

@ -6,8 +6,7 @@ class JavaScript extends Language {
name: 'JavaScript',
aliases: ['javascript', 'js'],
options: {
harmony: () => '',
e: () => ''
harmony: () => ''
}
});
}
@ -18,10 +17,6 @@ class JavaScript extends Language {
ret.env.EVAL_HARMONY = 'true';
}
if (options.has('e')) {
ret.env.EVAL_EXPR = 'true';
}
return ret;
}
}