Skip to content

Instantly share code, notes, and snippets.

@FireyFly
Forked from anonymous/gist:1120803
Created August 3, 2011 14:11
Show Gist options
  • Save FireyFly/1122730 to your computer and use it in GitHub Desktop.
Save FireyFly/1122730 to your computer and use it in GitHub Desktop.
CoffeeScript Sample
vinyls = [
record:
name: "The best"
year: 2005
,
record:
name: "OK, The Best For Real"
year: 2010
]
recs = for {record: {name, year}} in vinyls
"The record #{name} was released in #{year}"
alert recs.join ','
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment