How can I run a string as if it where javascript code?
<p>How can I run a string 
as if it where javascript code? </p>

<pre><code>//The user inputs javascript code and clicks run and it runs the javascript code

function getCode () {
    retrun code();
}

funciton runCode() {
    run(getCode());
}
</code></pre>
