How do you define a default value for a function parameter in JavaScript?
By using the default keyword before the parameter name.
default
By using the default keyword after the parameter name.
By enclosing the default value in square brackets after the parameter name.
By assigning a value to the parameter inside the function body.