function_callv


Description:

public Value function_callv (Value[]? parameters)

Call function referenced by this, passing the given parameters.

If parameters.length is 0 no parameters will be passed to the function.

This function always returns a Value, in case of void functions a Value referencing <function>undefined</function> is returned

Parameters:

this

a Value

parameters

the Value<!-- -->s to pass as parameters to the function, or null

n_parameters

the number of parameters

Returns:

a Value with the return value of the function.