-
Committer:
Henrik Ingo
-
Date:
2011-09-02 10:32:57 UTC
-
Revision ID:
henrik.ingo@avoinelama.fi-20110902103257-1i044y2jkrdn9ot6
Honoring EcmaScript standard arguments are made available as arguments[]
(was argv[])
Named parameters become global variables, as in
js_eval( "myvalue+anothervalue", 1 as 'myvalue', 2 as 'anothervalue')
Integers and real/decimal values passed as appropriate JS counterparts.
This makes js '+' operator work correctly.
Added whitespace to if() and function calls, sorry for noise in the diff.