In JavaScript when we show length property on the function we get back the arity(number of arguments) of that function.

function importantFunction(first, second) {}
importantFunction.length
// 2

function complexFunction(first, second, third) {}
complexFunction.length
// 3