Function.length

length

Description

Function.length

Return values

integer.

Examples

Example #1 – length example
var f = function (param1, param2) { }; console.log(f.length); // The function have 2 parameters.

External references