You are here: irt.org | FAQ | JavaScript | Function | Q1170 [ previous next ]
Try:
<script language="JavaScript"><!-- function myFunctionName() { var o = ''; o += 'Number of arguments = ' + arguments.length + '\n'; for (var i=0;i < arguments.length; i++) o += 'Argument ' + i + ' typeof = ' + typeof arguments[i] + '\n'; alert(o); } myFunctionName(123,'xyz',new Object()); //--></script>