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

Reply via email to