There was an error while loading. Please reload this page.
Get the number of parameters of a function.
Similar: name, length.
function length(x) // x: a function
const xasyncfn = require('extra-async-function'); xasyncfn.length(() => 0); // → 0 xasyncfn.length((x, y) => 0); // → 2