What uses of eval() (or the indirect eval/execScrtipt()) are legitimate?
<p>I have never encountered a situation where I needed <code>eval()</code>.</p>

<p>Often times, people say that the <code>[]</code> property accessor makes <code>eval()</code> redundant.</p>

<p>Actually, isn't the execution of a pain statement exactly the same thing as pushing it as an argument into the <code>eval()</code> function. What is it actually used for?</p>

<p>Can you provide examples of when it might be useful to use eval()?</p>
