title: Given a function in a string format how do i convert it back to a function in javascript?
body: <p>Say I have a function in javascript</p>
  
  <pre><code>var fn = function () {
          return 6 + 5;
  };
  </code></pre>
  
  <p>and then I do </p>
  
  <pre><code>fn.toString();
  </code></pre>
  
  <p>which returns </p>
  
  <pre><code>"function () { return 6 + 5; }"
  </code></pre>
  
  <p>how can I turn this back into a function and eventually call it later on. I've tried <code>eval</code> as other people have said but this does not seem to be working for me. Any help would be much appreciated!!!</p>