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:
parent
94185e3f70
commit
590c069158
36 changed files with 744 additions and 457 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue