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