How can i call a function, whose name is dynamically created by combining some variables in node.js?
<p>I have a constructor in Node.js</p>

<pre><code>    function Response() {
                var numberOfArguments = arguments.length;
                var getArguments = arguments;             
                var newConstructor = arguments.callee.name + i; // ie, (Constructor Name + numberOfArguments)

                /* Here i want to call the constructor with the value in newConstructor and pass the arguments in getArguments*/
               // ie, call function like Response0();
               //                        Response1(getArguments[0]);
    }

    function Response0() {
         //Constructor Body for Response0()
    }

    function Response1(sid) {
          //Constructor Body for Response0()
    }
</code></pre>

<p>Now my question is How can i call these functions Response0() or Response1() depending upon the number of arguments that come into the Response constructor . </p>