Multiple Choice
Which of the following is an illegal array initialization statement
A) var n = [ 10, 20, 30, 40, 50 ];
B) var n = new Array( 10, 20, 30, 40, 50 ) ;
C) var n[ 10, 20, 30, 40, 50 ];
D) var n = new Array( 5 ) ; for ( var i = 1; i < = 5; i++ )
N[ i ] = i * 10 ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: What is the effect of the join
Q2: Pass-by- _ is the method of passing
Q4: What would the browser output if the
Q5: What does the following code do<br>For (
Q6: Which of the following is the proper
Q7: In JavaScript, numbers and boolean values are
Q8: The first statement below _ the array
Q9: _ are data structures consisting of related
Q10: Which of the following is the proper
Q11: By default, the JavaScript sort method uses