On 7 October 2011 12:10, Lasse Reichstein wrote:
> On Fri, Oct 7, 2011 at 12:09 PM, Fyodorov "bga" Alexander
> wrote:
>>
>>
>> reason why many js coders still use ; is because they use other old
>> langs such as c++/java. New langs such as Go and Scala dont requires ;
>> because in most cases \n
On Fri, Oct 7, 2011 at 12:09 PM, Fyodorov "bga" Alexander
wrote:
>
>
> reason why many js coders still use ; is because they use other old
> langs such as c++/java. New langs such as Go and Scala dont requires ;
> because in most cases \n is ;.
I agree on that, and in a language designed to not n
Lasse Reichstein:
> On Thu, Oct 6, 2011 at 2:17 PM, Fyodorov "bga" Alexander <
> bga.em...@gmail.com> wrote:
>
> >
> > 1) convert your code to
> > {
> > const singletonObject = (function(){
> >// helper fns
> >
> >return {
> > // privare members
> > newsItems_: [],
> >
> >