Yehuda Katz wrote:
Doesn't the same problem exist with:

     var let = function() {};
     let();

Or:

     var let = { it: "be" };
let.it <http://let.it> // be

These seem to be parseable better (especially the latter), but how to distiguish if

  let [foo] = bar

is let with destructuring or assignment with index?



On Fri, Nov 16, 2012 at 9:19 AM, Herby Vojčík <he...@mailbox.sk
<mailto:he...@mailbox.sk>> wrote:



    Kevin Smith wrote:

              var let = [], num = 0;

              let[num] = f();


    Awww, that's hard. I am really curious how this one is solved.


        - Kevin


    Herby

--
Yehuda Katz
(ph) 718.877.1325
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to