JS

Functions in JavaScript - Function properties leng...

19.

What is the purpose of the length property of a JavaScript function?

It returns the number of characters in the string passed as an argument to the function.

It returns the number of elements in the array passed as an argument to the function.

It returns the number of properties defined within the function.

It returns the number of parameters expected by the function.