1.

A function definition expression can be called as __________(a) Function prototype(b) Function literal(c) Function calling(d) Function declaration

Answer» The correct choice is (b) Function literal

Explanation: 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.


Discussion

No Comment Found

Related InterviewSolutions