Function JavaScript Tutorial

The arity property represents the number of declared arguments a function expects to receive.
The arity property is valid when the language attribute of the script tag is set to JavaScript1.2.