Show Arguments : Function : Language Basics JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Language Basics » Function »

 

Show Arguments



<html>
<script>
<!--
function showArgs(a, b, c) {
   var argList = "";
   for (var n=0; n <= arguments.length; n++) {
       argList += n + ". " + arguments[n"n";
   }
   alert(argList);
}
showArgs("java""script");
//-->
</script>
</html>


           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Language Basics
» Function