If you are dynamically generating functions with varying number of required arguments, how do you determine if the future number of supplied arguments to the function call are enough and/or how do you make sure your function warns for / about required, or missing number of arguments?
The anonymous function may have a structure body as simple as:
fucntion( x, y, z ) {
        /*test for the arguments supplied*/
    if( notEnoughArguments )
        /*exit the function and return a warning*/   
        /*otherwise, say ...*/
     return x*y*x
    }
The problem: you don't know beforehand how many arguments will a certain function require, and you're not sure how many arguments will be available/supplied at the time of the function call.
 
     
     
    