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 <hars...@wso2.com> wrote:

> Hi Dilhasha,
>
> AFAIK what you have understood is correct regarding $subject.
>
> Regards,
>
> Lakshitha Harshan
> Software Engineer
> Mobile: *+94724423048*
> Email: hars...@wso2.com
> 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 <dilha...@wso2.com>
> 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   :
>> *dilha...@wso2.com <dilha...@wso2.com>*mobile : +94 77 8449321
>>
>> On Fri, Feb 13, 2015 at 11:24 AM, Fathima Dilhasha <dilha...@wso2.com>
>> 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   :
>>> *dilha...@wso2.com <dilha...@wso2.com>*mobile : +94 77 8449321
>>>
>>
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Inshaf Mahath
WSO2 Inc.
Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to