13/13


#1

var age = [37,32,7,5,12,40];
var j;
var a =0;
var b =0;
var count = function(x,y) {
for ( j = 0;j }
console.log(age[j]);
for ( j = 0;j if (age[j]<30){
x+= j;
}
else {
y+=j;
}
}
console.log("There are + "x" + people below 30");
console.log("There are + "y" + people above 30");
};
count(a,b);

it says SyntaxError: missing ) after argument list


#2

it is missing on your first "For" line