Function.arity

Number arity

Description

The number of formal arguments.

This property is deprecated; use the length property instead.