Fixes Issue #574 ... number keys in implicit object literals.

This commit is contained in:
Jeremy Ashkenas
2010-08-11 21:49:18 -04:00
parent 2ec857ef8d
commit d704afa0e9
3 changed files with 4 additions and 3 deletions

View File

@@ -197,11 +197,12 @@ ok obj.misdent.toString() is ',,,'
second = (x, y) -> y
obj = then second 'the',
one: 1
1: 1
two:
three: ->
four five,
six: seven
three: 3
ok obj[1] is 1
ok obj.three is 3