-class JSPrimitive extends JS {
- public JS callMethod(JS method, JS arg0, JS arg1, JS arg2, JS[] rest, int alength) throws JSExn {
- //#switch(JS.toString(method))
+class JSPrimitive extends JS.Immutable {
+ private static final JS.Method METHOD = new JS.Method();
+
+ public JS callMethod(JS method, JS[] args) throws JSExn {
+ //#switch(Script.str(method))