arguments in JavaScript


    function foo(a,b) {
       foobar(123);
       document.write("Done with function foo" + "<br>");
    }
    function foobar(x) {
       document.write(foobar.arguments.length + "<br>");
       document.write(foobar.arguments.caller.b + "<br>");
    }
    document.write(foo(21,44) + "\n");