Which of the following statements best describes JavaScript default parameters?
a) They allow functions to have optional parameters that default to undefined if not provided.
b) They enforce strict typing for function parameters to prevent type errors.
c) They enable functions to accept an unlimited number of arguments.
d) They automatically assign default values to all function parameters based on their type.



Answer :

Other Questions