- From: Pete L. <plamoni@gmail.com>
- Date: Wed, 17 Oct 2012 10:14:37 -0500
- To: "WebPlatform.org" <public-webplatform@w3.org>
Received on Wednesday, 17 October 2012 15:15:08 UTC
> > > i) a + 1; //returns 5 > > This is simply wrong; "return" has a specific meaning in JS (returning a > value from a function). Better not to confuse that with anything else. > > Someone should tell that to Mozilla: https://developer.mozilla.org/en-US/docs/JavaScript/Guide/Values,_variables,_and_literals If no one minds, I might get started on a JS style guide. It will be the first time I've tried to write such a thing, but I'll do some research on some existing style guides (like those from jQuery, DOJO, and Google) to see what they have to say. If anyone else has suggestions on other good style guides to research, please let me know. -Pete
Received on Wednesday, 17 October 2012 15:15:08 UTC