Re: JavaScript/ECMAScript Styling and Citation

On 10/17/12 5:14 PM, "Pete L." <plamoni@gmail.com> wrote:
>> 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,_variable
>s,_and_literals

Sounds like this was fixed in the meantime.

>If no one minds, I might get started on a JS style guide.

TBH, I see little value in creating YASG (Yet Another Style Guide).

The community should vote for an existing one or go styleguide-less.

--tobie

Received on Wednesday, 17 October 2012 16:11:43 UTC