Mac Download Windows Download

Definition of Arity

In Javascript the number of arguments for a function is the arity of the function. By checking the length of the arguments inside the function this can be determined. Arity was a method call in Javascript but has since been deprecated. Instead calling the length property of a function can determine it’s arity.