JS

JavaScript Fundamentals 3 - Function parameters an...

23.

Which of the following is true about function parameters and arguments in JavaScript?

Function parameters are defined when the function is called, while function arguments are defined when the function is declared.

Function parameters are enclosed in parentheses when the function is called, while function arguments are enclosed in square brackets.

Function parameters have default values if not provided, while function arguments can be optional.

Function parameters are only used in arrow functions, while function arguments are used in regular functions.