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