Skip to content

Instantly share code, notes, and snippets.

Created August 2, 2011 18:03
Show Gist options
  • Save anonymous/1120803 to your computer and use it in GitHub Desktop.
Save anonymous/1120803 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