0 votes
in JavaScript by
Which one of the following keywords is used for defining the function in the JavaScript?

a) Void

b) init

c) main

d) function

1 Answer

0 votes
by

Answer: D

Reason: In JavaScript, a function is defined by using the "function" keyword along which function is named, followed by the () parenthesis. A function name can contain the dollar's signs, underscores, letters and even the digits.

...