public Scriptable jsFunction_list() {
public Scriptable jsFunction_list(Object startArg, Object lengthArg) { if (startArg == Undefined.instance && lengthArg == Undefined.instance) { return list(); }  int start = (int) ScriptRuntime.toNumber(startArg); int length = (int) ScriptRuntime.toNumber(lengthArg);  if (start < 0 || length < 0) { throw new EvaluatorException("Arguments must not be negative in HopObject.list(start, length)"); }
    public Scriptable jsFunction_list() {        checkNode();        Enumeration e = node.getSubnodes();        ArrayList a = new ArrayList();        while ((e != null) && e.hasMoreElements()) {            a.add(Context.toObject(e.nextElement(), core.global));        }        return Context.getCurrentContext().newArray(core.global, a.toArray());    }