What will the browser display if the following script is executed?

```
< SCRIPT LANGUAGE = "JavaScript" >
var theArray = [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ];
modifyArray( theArray[ 3 ] );
document.write( theArray.join( " " ) );
function modifyArray( i ) {
i = 11;
}

```

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


b) 1 2 3 4 5 6 7 8 9

Computer Science & Information Technology

You might also like to view...

What are some of the vulnerabilities in JavaScript?

What will be an ideal response?

Computer Science & Information Technology

A product key is a code supplied with a software license

Indicate whether the statement is true or false

Computer Science & Information Technology

IP addresses like 10.10.10.10 and 172.19.24.21 are both examples of what type of IP address?

A. Public IP addresses B. Prohibited IP addresses C. Private IP addresses D. Class B IP ranges

Computer Science & Information Technology

Briefly describe the kinds of information that is displayed by a system information utility, such as Belarc Advisor

What will be an ideal response?

Computer Science & Information Technology