<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Destructuring Assignment: Properties are valid AssignmentElements"
   href="https://bugs.webkit.org/show_bug.cgi?id=151026#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Destructuring Assignment: Properties are valid AssignmentElements"
   href="https://bugs.webkit.org/show_bug.cgi?id=151026">bug 151026</a>
              from <span class="vcard"><a class="email" href="mailto:caitpotter88&#64;gmail.com" title="Caitlin Potter &lt;caitpotter88&#64;gmail.com&gt;"> <span class="fn">Caitlin Potter</span></a>
</span></b>
        <pre>The most common observable use (as far as I can tell), is assigning to properties of &quot;this&quot;, eg in a constructor.

eg:

```
class FancyNode {
  constructor(nodePosition = null) {
    ({ x: this.x, y: this.y } = nodePosition);
  }
}
```

or something similar. The other uses are legal and observable, but probably not very useful?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>