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

Hemanth H.M hemanth.hm at gmail.com
Wed Jul 4 10:28:47 PDT 2012


ReferenceError: Invalid left-hand side in assignment on chrome

On Wed, Jul 4, 2012 at 10:46 PM, Jussi Kalliokoski <
jussi.kalliokoski at gmail.com> wrote:

> [param1, param2] = window.location.search.replace('?','').split('&')
>



-- 
*'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/20120704/38951513/attachment.html>


More information about the es-discuss mailing list