1.Given the following array, what is the value of test:
var school = [
['David', 'Yamil', 'Edgardo'],
['Mari', 'Jan', 'Luis', 'Nelson']
];
var test = school[1][2];
2.Given the following loop, what is the value of test:
var x = 0;
do {
x++;
} while (x < 0);
var test = x;
3.Given the following loop. what is the value of test after loops are done:
var test = 1;
for(var x=0; x < 4; x++){
for(var y=0; y < 5; y++){
test++;
}
}