Hi, I think [1] will give more information.
[1] - http://stackoverflow.com/questions/10790876/multiple-assignments-var-a-b-b-in-javascript On Fri, Feb 13, 2015 at 11:46 AM, Harshan Liyanage <[email protected]> wrote: > Hi Dilhasha, > > AFAIK what you have understood is correct regarding $subject. > > Regards, > > Lakshitha Harshan > Software Engineer > Mobile: *+94724423048* > Email: [email protected] > Blog : http://harshanliyanage.blogspot.com/ > *WSO2, Inc. :** wso2.com <http://wso2.com/>* > lean.enterprise.middleware. > > On Fri, Feb 13, 2015 at 11:29 AM, Fathima Dilhasha <[email protected]> > wrote: > >> *Initialize var jagg for the first time it is met**(when it is null**) >> and in all the other times, avoid initialization keep the same value.* >> Is that correct? >> >> *M.N.F. Dilhasha* >> Software Engineering Intern | *WSO2 Lanka* >> >> email : >> *[email protected] <[email protected]>*mobile : +94 77 8449321 >> >> On Fri, Feb 13, 2015 at 11:24 AM, Fathima Dilhasha <[email protected]> >> wrote: >> >>> Hi, >>> >>> I came across the following jaggery syntax, >>> >>> *var jagg = jagg || (function () {...}());* >>> >>> *var jagg = jagg || {...};* >>> >>> >>> and I'm curious on what the use of it is. >>> Can someone give an explanation on what context this is useful? >>> >>> Regards, >>> Dilhasha >>> >>> *M.N.F. Dilhasha* >>> Software Engineering Intern | *WSO2 Lanka* >>> >>> email : >>> *[email protected] <[email protected]>*mobile : +94 77 8449321 >>> >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Inshaf Mahath WSO2 Inc. Lean . Enterprise . Middleware
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
