> 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
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to