title: Execute JS code from string input
body: <p>Is there any way to do the following?</p>
  
  <pre><code>var value = foo;
  execute("value = 'bar'");
  console.log(value) // returns 'bar'
  
  function execute(jsCodeString) {
      // execute js code
  }
  </code></pre>