title: Why b is 10 while var [b=10] = [undefined]?
body: <pre><code>var [b=10] = [undefined];
  console.log(b) 
  </code></pre>
  <p>I am wondering how can I split the first line code and why b is equal to 10? Thanks!</p>