Matching nested property with same name generates invalid JS
bbrk24 opened this issue · comments
switch m
{ foo: { foo: ^bar } }
;
if(typeof m === 'object' && m != null && 'foo' in m && typeof m.foo === 'object' && m.foo != null && 'foo' in m.foo && m.foo.foo === bar) {const { foo: foo1: { foo: foo2 } } = m;const foo = [foo2, foo1];
;}