PrepAway - Latest Free Exam Questions & Answers

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

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

PrepAway - Latest Free Exam Questions & Answers

A.
function myFunction { }

B.
define myFunction() { }

C.
function myFunction() { }

D.
define myFunction { return value; }

Explanation:


Leave a Reply