A

Admin • 833K Points
Coach

Q. A function definition expression can be called

  • (A) Function prototype
  • (B) Function literal
  • (C) Function definition
  • (D) Function declaration
  • Correct Answer - Option(B)
  • Views: 29
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

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.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.