String evaluation function in JavaScript
<p>Is there any built-in function in JavaScript like <code>eval</code> built-in function in Python?
notice: <code>eval</code> function take an equation as string and returns result. for example assume variable <code>x</code>  is 2, then <code>eval("2x+5")</code> returns 9. </p>
