3 ms·
> It doesn't impact destructuring at all because destructuring lines start with let That's just not true. You can have destructuring assignments, not just decl
by bakkoting 10y ago
> It doesn't impact destructuring at all because destructuring lines start with let
That's just not true. You can have destructuring assignments, not just declarations: `[a, b] = [b, a];` is perfectly legal ES2015.
- WorldMaker 10y agoFair enough, not a use case I'd encountered a need for in my code, yet. Still not that "ugly" from a winky frown perspective: ;[a, b] = [b, a]