Vidyalelo
JavaScript · Q11

Array And Function

Programming · JavaScript · question 11

Q11

The function definitions in JavaScript begins with

A.
Identifier and Parantheses
Answer
B.
Return type and Identifier
C.
Return type, Function keyword, Identifier and Parantheses
D.
Identifier and Return type

Answer: Option A

Solution

Answer: Option A
Solution:
The function definitions begin with the keyword function followed by an identifier that names the function and a pair of parantheses around a comma-separated list of zero or more identifiers.