How do you define a function with named parameters in JavaScript?
By using the named keyword before each parameter name.
named
By enclosing the parameter names in square brackets.
JavaScript does not support named parameters.
By using the : syntax to assign values to the parameters.
: