title: editting a variable but not directly assign it
body: <p>First i want to apologize for my bad english,</p>
  
  <p>I am creating a small game in jquery/javascript, but now i want to create some 'upgrades' but there's a small problem i'm having here. First of all i dont know how exactly but i need it something like this</p>
  
  <pre><code>var clicker = 1;
  
  clicker.upgrade(value, text, content); 
  </code></pre>
  
  <p>something like this and variable clicker from <code>(clicker).upgrade</code> should be editted. In upgrade there should be a function that calls the var (<code>clicker</code>) and edit the value's of the variables called clicker.</p>
  
  <p>I need that for easy use and that i can edit clicker into something else.</p>
  
  <p>Thank you for reading this</p>