Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as JavaScript by kris ( 8 years ago )
var YearBirth = [1992, 2006, 1995, 2001];
function printFullAge(YearBirth) {
var Ages = [];
var isfullAge = [];
for(var i = 0; i < YearBirth xss=removed>= Ages.length; i++) {
if(Ages[i] >= 18) {
isfullAge.push(true);
} else {
isfullAge.push(false);
}
}
return isfullAge;
}
var full_1 = printFullAge(YearBirth);
console.log(full_1);
Revise this Paste
Parent: 90843