Function.arity

This is an archived page. It's not actively maintained.

Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

La proprieta' arity ritornava il numero di parametri richiesta da una funzione. Ad ogni modo non esiste piu' ed e' stata rimpiazzata dalla proprieta' Function.prototype.length.

Specifiche

Implementato in JavaScript 1.2. Deprecato in JavaScript 1.4.

Compatibilita' Browser

No compatibility data found. Please contribute data for "javascript.builtins.Function.arity" (depth: 1) to the MDN compatibility data repository.

Guarda anche