> > > 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. -PeteReceived on Wednesday, 17 October 2012 15:15:08 UTC
This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:57:34 UTC