Ja, ja, me tomará un tiempito ver esto.

Hay un truco más sencillo para convertir arguments en array:
Código PHP:
args = Array.prototype.slice.call(arguments);
o
Código PHP:
<script>
function test(a,b,c){
args = [].slice.call(arguments,0);
alert(args.constructor);
}
test(1,2,3);
</script>