JavaScript Demo - Function Parameter Counter
Return to the JavaScript Demos Page
This demo returns the number of parameters passed to the JavaScript function. (It also returns the data types of the arguments.)
Click the Count Parameters button to display the results on the page.
This is the function and its parameters:
ParamCount(123, 'xyz', new Object());