2010-07-29 00:51:35 -04:00
|
|
|
var eldest, grade;
|
|
|
|
grade = function(student) {
|
2010-10-24 21:50:34 -04:00
|
|
|
return student.excellentWork ? "A+" : student.okayStuff ? student.triedHard ? "B" : "B-" : "C";
|
2010-07-29 00:51:35 -04:00
|
|
|
};
|
|
|
|
eldest = 24 > 21 ? "Liz" : "Ike";
|