jskatas.org Continuously Learn JavaScript. Your Way.

Function constructor: Function.length

The length property of the Function constructor is always 1.

Function.length is always 1, the only "required" param
assert.strictEqual(Function.length, 1);


The very first version of the spec defines this property already, the ES1 spec, see section (PDF 732kB).

Required Knowledge

Related Katas

function API

Arrow functions

Async Function

Difficulty Level



1 tests to solve