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