adplus-dvertising
frame-decoration

Question

What is the correct syntax to create a java script function?

a.

function : a Function() { }

b.

Function() { }

c.

Create function a Function() { }

d.

New function a Function() { }

Answer: (b).Function() { }

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the correct syntax to create a java script function?

Similar Questions

Discover Related MCQs

Q. Which of the following is a java script comment?

Q. Which of the following would java script assign to an un initialized array element?

Q. Which of the following is not a java script opeartor?

Q. How do you add a property on a per – class basis?

Q. Which of the following properties returns the number of arguments expected by a function?

Q. Which loop executes at least once irrespective of the condition?

Q. Which CSS property controls the text size?

Q. What is the correct CSS syntax for making all the <p> elements bold?

Q. In what form are style role presented?

Q. Which of the following styles is the most flexible styling?

Q. Which of the following is an invalid CSS selector?

Q. A declaration is terminated by a

Q. Which one of the following is the correct syntax for importing a style sheet in CSS?

Q. Which of the following HTML tags is used to refer to an external style sheet?

Q. Which of the following is used to register a remote object 0 with the name “ obj ” at the port 1080 on the host it.jusl.ac.in?

Q. To locate a remote object with the name obj at port 1080 on host it.just.ac.in, we use

Q. Which of the following adds a plain color to the background of a web page?

Q. Which of the following properties of the body tag prevents scrolling of a background image?

Q. Which of the following is true regarding password field?

Q. Which of the following is not a valid HTML tag declaration?