title: Have one array reference two or more
body: <p>So I want to know if it's possible to create a scenario like this in javascript:</p>
  
  <p>Lets say I have two arrays: </p>
  
  <pre><code>a = [1, 2, 3]
  b = [4, 5, 6]
  </code></pre>
  
  <p>And then I would like to create an array c that references the two arrays:</p>
  
  <pre><code>c = [1, 2, 3, 4, 5, 6]
  </code></pre>
  
  <p>However when I change an element in one of the two arrays I would also like to have it automatically affect array c:</p>
  
  <pre><code>a[1] = 1
  c = [1, 1, 3, 4, 5, 6]
  </code></pre>
  
  <p>Is there a way to make this possible in javascript?</p>