Passing argument list to function
Uses the new JavaScript 1.8.5 apply() command to directly pass the argument list of one function to another.
JavaScript
var caller = function()
{
callee.apply( null, arguments );
}
var callee = function()
{
alert( arguments.length );
}
caller( "Hello", "World!", 88 ); // Shows "3".