How to embed array in new Function construct
<p>How can I get javascript array in a function which I create like this:
<img src="http://i.stack.imgur.com/tHICo.png" alt="enter image description here"></p>

<p>Thanks.</p>

<p><strong>Edit:</strong>
Thanks for taking care about eval, evil etc. but my question actually is not about pros and cons of eval. Thanks.</p>

<p><strong>Edit2:</strong>
Thanks Saml. Your answer pushed my to the right direction:
<img src="http://i.stack.imgur.com/0ndl3.png" alt="enter image description here"></p>

<p><strong>P.S.</strong>
Programming idioms sometimes becomes religion. Anyway I've got what I needed. Happy coding.</p>
