> Is the expected result for ```obj``` to be defined as a variable and
```firstName``` and ```lastName``` to not be defined as variables?
Exactly

As you mentioned above, we may use default value while destructuring to
achieve the same result, but it looks quite unobvious and creates extra
variables
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to