FrontendInterviews.dev

627. Function.length with Defaults

Easy•

Predict the output.

function f(a, b = 1, c) {}
console.log(f.length)

What is the correct output/behavior?

Select an option and submit your answer.
Next Problem