var el1,el2 = [1,2] why not?

Hemanth H.M hemanth.hm at gmail.com
Wed Jul 4 21:09:04 PDT 2012


Thank you all, for your fantastic feedback!

On Thu, Jul 5, 2012 at 6:17 AM, Ariya Hidayat <ariya.hidayat at gmail.com>wrote:

> > This might be silly, but let the code speak :
> >
> > var param1,param2 = window.location.search.replace('?','').split('&')
> > a,b=b,a
>
> To see how a JavaScript parser understands the semantic of that code,
> just paste it into http://esprima.org/demo/parse.html.
>
>
>
> --
> Ariya Hidayat, http://ariya.ofilabs.com
> http://twitter.com/ariyahidayat
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>



-- 
*'I am what I am because of who we all are'*
h3manth.com <http://www.h3manth.com>
*-- Hemanth HM *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120705/73ae5e41/attachment-0001.html>


More information about the es-discuss mailing list