Home » JavaScript » JavaScript Operators » Question
  1. A function definition expression can be called as __________
    1. Function calling
    2. Function prototype
    3. Function declaration
    4. Function literal
    5. None of these
Correct Option: D

A function definition expression is a “function literal” in the same way that an object initializer is an “object literal.” A Function definition expression typically consists of the keyword function followed by a comma-separated list of zero or more identifiers (the parameter names) in parentheses and a block of JavaScript code (the function body) in curly braces.



Your comments will be displayed only after manual approval.