Computer Science, asked by Anonymous, 9 months ago

tick the correct answer

1)One of the following demonstrate correct syntax for a function.

var myfunction=function[] {};
var myfunction=function() {};
var myfunction=function{} ();
var myfunction=function();{};

which option it correct please tell me fast.​

Answers

Answered by khushi32291
1

Answer:

The third one is correct var myfunction=function{}();

Similar questions