What basic code is needed to define a function in JavaScript?

What basic code is needed to define a function in JavaScript?

What basic code is needed to define a function in JavaScript?

A.
function myFunction { }

B.
define myFunction() { }

C.
function myFunction() { }

D.
define myFunction { return value; }

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *