Created
September 28, 2011 19:39
-
-
Save sandboxws/1249008 to your computer and use it in GitHub Desktop.
CoffeeScript for loop an object
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| person = | |
| name: 'Ahmed El.Hussaini', | |
| age: 31, | |
| email: 'ahmed.elhussaini@espace.com.eg', | |
| blog: 'http://sandboxws.com', | |
| splinterScore: 224, | |
| splinterProfileUrl: 'http://splinterme.com/sandboxws' | |
| for key, value of person | |
| console.log key + ': ' + value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment