Home / Programming MCQs / JavaScript MCQs / Question
Y
Q. Which of the following functions is a valid type of function that javascript supports?
A function in JavaScript can be named or anonymous. Here is a typical example of a named function: function sayHello() { alert("Hello World!"); } sayHello(); Here is a typical example of an anonymous function: var sayHello = function() { alert("Hello World!"); } sayHello();
You must be Logged in to update hint/solution
A collection of elements of the same data type which may either in order or not, is called _____.
Which of the following functions is a valid type of function that javascript supports?
Which of the following attribute takes the source of the PHP file?
What is the purpose of the Legacy DOM?
What are the goals for using Firebug?
Where does the external process save the result of the test?
Which character is used to break up a code line within a text string in JavaScript?
Which of the following is the parameter used to invoke the Audio() constructor?
Discusssion
Login to discuss.