On 12/06/2011 02:14 PM, Stefan Krecher wrote:
> Hi,
> while trying to run the repl on a JVM-Rhino-ScriptEngine, i noticed that
> in the Exporter-class the reserved word "package" was used as a variable
> name - this throws a org.mozilla.javascript.EvaluatorException - the
> script can't get executed.
> I think "package" should be added to st.reservedWords
> regards,
> Stefan
And after a bit of googling I found this page which seems to be very
detailed on all these issues:
http://mattsnider.com/javascript/reserved-words-in-javascript/...I still leave it to Nicolas to decide how restrictive we should
really be here.
regards, Göran