title: Is swapping variables by array destructuring efficient?
body: <p>ES6 supports array destructuring which could be used to swap variables in succinct syntax like below, but is this efficient and suggested in performance sensitive code as array processing? Because it seems a new temporary array is needed to complete this operation.</p>
  
  <pre><code>[a, b] = [b, a]
  </code></pre>