What would the browser output if the following script is executed?

```
< SCRIPT LANGUAGE = "JavaScript" >
var array = [ [ 1, 2, 3 ], [ 1, 2, 3 ] ];
for ( var i in array ) {
for ( var j in array[ i ] )
document.write( array[ i ][ j ] + " " );

document.writeln("
");
}
< /SCRIPT >
```

a) Nothing, the script would generate an error
b) 1 2 3
c) 1 2 3 4 5 6
d) 1 2 3 1 2 3

d) 1 2 3 1 2 3

Computer Science & Information Technology

You might also like to view...

You cannot sort cells by their fill color

Indicate whether the statement is true or false

Computer Science & Information Technology

Why is it important that all component interactions are defined through ‘requires’ and ‘provides’ interfaces?

What will be an ideal response?

Computer Science & Information Technology