Re: Destructuring instances with private fields

2018-09-06 Thread Ranando King
I can understand why this would be wanted. It would save some excess typing. However, doesn't it also lead to the potential foot-gun of forgetting to assign any modifications back to the original private field? Also, since private fields aren't actually own properties of the instance, how could the

Re: Destructuring instances with private fields

2018-09-06 Thread Isiah Meadows
BTW, this just falls out of the grid with my private symbols suggestion https://github.com/tc39/proposal-class-fields/issues/115 On Thu, Sep 6, 2018 at 10:14 Ranando King wrote: > I can understand why this would be wanted. It would save some excess > typing. However, doesn't it also lead to