1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
jashkenas--coffeescript/documentation/cs/expressions.cs
2009-12-21 11:41:45 -05:00

9 lines
No EOL
151 B
C#

grade: student =>
if student.excellent_work
"A+"
else if student.okay_stuff
"B"
else
"C"..
eldest: if 24 > 21 then "Liz" else "Ike".