JS

Functions in JavaScript - Arguments in javascript ...

26.

What is the purpose of using default parameters in JavaScript functions?

To limit the maximum number of arguments that can be passed to the function.

To prevent the function from being called without any arguments.

To set default values for the parameters in case no arguments are passed.

To specify the minimum number of arguments required for the function.