Return to Snippet

Revision: 1044
at September 4, 2006 00:08 by Navegante


Initial Code
<script type="text/javascript">
<!--

function test_vars()
{
  var argArr = test_vars.arguments;
  var argNum = argArr.length;
  for (var i = 0; i < argNum; i++)
  {
    alert("Argument " + i + " = " + argArr[i]);
  }
}
window.onload=foo('hello', 'world');
//-->
</script>

Initial URL

                                

Initial Description
Manejar argumentos y variables recibidas en JavaScript

Initial Title
Manejar argumentos y variables recibidas en JavaScript

Initial Tags
javascript

Initial Language
JavaScript