Multiple Choice
What will the browser display if the following script is executed
< script type = "text/javascript" >
< !--
Var theArray = [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ];
ModifyArray( theArray[ 3 ] ) ;
Document.write( theArray.join( " " ) ) ;
Function modifyArray( i )
{
I = 11;
}
//-- >
< /script >
A) Nothing, the browser will generate an error.
B) 1 2 3 4 5 6 7 8 9
C) 1 2 11 4 5 6 7 8 9
D) 1 2 3 11 5 6 7 8 9
Correct Answer:

Verified
Correct Answer:
Verified
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
Q12: The sort method can be given a
Q14: When working with data stored in arrays,
Q15: What is the value of num assuming
Q16: Pass-by- _ is the method of passing
Q17: To refer to a particular location or
Q18: In JavaScript, all objects and arrays are