Home » JavaScript » JavaScript Functions » Question
  1. When does the function name become optional in JavaScript?
    1. When the function is predefined
    2. when the function is called
    3. When the function is defined as expressions
    4. When the function is defined as a looping statement
    5. None of these
Correct Option: C

The function name is optional for functions defined as expressions. A function declaration statement actually declares a variable and assigns a function object to it.



Your comments will be displayed only after manual approval.