On Mar 22, 2012, at 12:12, Mark Hahn wrote:

> areas =   [{"news":"1"}, {"story":"1"}] 
> console.log areas
> for e, i of  areas 
>      console.log  e
>      console.log  i

You've just rewritten the original non-working JavaScript code in CoffeeScript.

My code, which you quoted, worked.



-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to