Solved

What Will the Browser Display If the Following Script Is

Question 13

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions