On Dec 11, 2012, at 21:18, spqr <[email protected]> wrote:

> I noticed that the object keys can be
> literals or strings and it still works.  Is there any preference on which to 
> use? 

Used to quote all my object keys, having come to nodejs from php, but now I try 
to follow Felix's Node.js Style Guide which says to "Only quote keys when your 
interpreter complains":

http://nodeguide.com/style.html


-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to