title: Can you assign a reference expression in javascript?
body: <pre><code>var x = 3;
  var y = x + 3;
  </code></pre>
  
  <p>I want to know if it is possible in javascript to update automatically <strong>y</strong> according to the expression (<strong>x+3</strong>) whenever <strong>x</strong> is assigned a new value.</p>