title: js destructuring assignment not work in while loop
body: <p><code>[a,b] = [b, a+b]</code> here not work , a b always 0 and 1.</p>
  
  <p>If use a temp variable to swap the value ,that works.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function fibonacciSequence() {
    let [a, b, arr] = [0, 1, []]
    while (a &lt;= 255) {
      arr.concat(a)
      [a, b] = [b, a + b]
      console.log(a, b) // always 0 1
    }
  }
  console.log(fibonacciSequence())</code></pre>
  </div>
  </div>
  </p>