On 21 October 2015 at 20:19, Standards Zakas <[email protected]> wrote: > In playing with destructuring, it seems like there are some syntax gotchas > that really should trigger some sort of error and instead fail silently. For > instance: > > ``` > let {} = foo; > ``` > > This line does absolutely nothing
Not true. It checks that foo converts to an object, which may throw a type error for null or undefined. /Andreas _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

