Saturday, March 16, 2013

how to find number of parameter declare in function

simple example

function x(a,b,c){
alert(x.lenght) ;
}
you can findout 3
last call your function
x();

No comments:

Post a Comment