title: Execute JavaScript code stored as a string
body: <p>How do I execute some JavaScript that is a string?</p>
  
  <pre><code>function ExecuteJavascriptString()
  {
      var s = "alert('hello')";
      // how do I get a browser to alert('hello')?
  }
  </code></pre>