title: How to put the results of an eval() into an object
body: <p>I have a string that contains a few unspecified functions. 
  Is there a way to eval() this string and store the resulting functions that are compiled into an Object or Array? </p>
  
  <p>Desired output after doing eval(string): </p>
  
  <pre><code>{ a: f() , 
    b: f() , 
    c: f() }
  </code></pre>
  
  <p>If I then do this with another string, which may also coincidentally contain functions of the same name, I don't want it to overwrite the first ones: </p>
  
  <pre><code>funcs[0] = eval(string1)
  funcs[1] = eval(string2) 
  
  funcs looks like: 
  [{ a: f(), b: f() }, 
   { a: f(), c: f() }]
  </code></pre>
  
  <p>where the two a's here are actually different functions.</p>