This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-github
/
jashkenas--coffeescript
mirror of
https://github.com/jashkenas/coffeescript.git
Watch
1
Star
0
Fork
You've already forked jashkenas--coffeescript
0
Code
Releases
Activity
1948b0c7c7
jashkenas--coffeescript
/
documentation
/
coffee
/
object_comprehensions.coffee
4 lines
95 B
CoffeeScript
Raw
Normal View
History
Unescape
Escape
big commit -- adding back object comprehensions, using 'ino', versus 'in' for array comprehensions, fixing bug with dollar signs in identifiers
2010-01-10 20:52:23 +00:00
years_old:
{
max:
10
,
ida:
9
,
tim:
11
}
CoffeeScript 0.2.3, with 'of', not 'ino'
2010-01-11 05:01:16 +00:00
ages:
for
child
,
age
of
years_old
added a whole slew of nice Potion examples from the pamphlet -- CoffeeScript stacks up pretty well.
2010-01-11 04:27:57 +00:00
child
+
"
is
"
+
age