JS

Functions in JavaScript - Parameters in javascript...

28.

How are default parameters defined in JavaScript functions?

By using the "default" keyword after the parameter.

By assigning a value to the parameter in the function declaration.

By declaring the parameter value inside parentheses.

By using the "default" keyword before the parameter value.