Can an array of numbers be transformed into an array of functions?
<p>Newbie asking for help: I have an array of numbers that needs to be transformed to an array of functions that return the original numbers, so instead of calling <code>a[3]</code>, I need to call call <code>a[3]()</code></p>

<p>E.g.: </p>

<pre><code>[1,2,3] -&gt; [
    function () {return 1;}, 
    function () {return 2;}, 
    function () {return 3;}
]
</code></pre>

<p>How can I go about doing this?</p>
