Skip to content

Instantly share code, notes, and snippets.

@eljamez
Created September 12, 2013 18:02
Show Gist options
  • Save eljamez/6541494 to your computer and use it in GitHub Desktop.
Save eljamez/6541494 to your computer and use it in GitHub Desktop.
CoffeeScript switch example (for quick reference)
# just copy and paste and you have the quick bones for a CoffeeScript Swtich statement
# 'day' is the variable you are checking
switch day
when "Fri" then 'yeah'
else 'dang'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment