1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

CoffeeScript 0.5.6

This commit is contained in:
Jeremy Ashkenas 2010-03-23 00:18:50 -04:00
parent 94185e3f70
commit 590c069158
36 changed files with 744 additions and 457 deletions

View file

@ -4,7 +4,11 @@
if (student.excellent_work) {
return "A+";
} else if (student.okay_stuff) {
return student.tried_hard ? "B" : "B-";
if (student.tried_hard) {
return "B";
} else {
return "B-";
}
} else {
return "C";
}