Value.functionCall

javascriptcore.value.Value functionCall(javascriptcore.value.Value[] parameters = null)

Call function referenced by value, passing the given parameters. If n_parameters is 0 no parameters will be passed to the function.

This function always returns a #JSCValue, in case of void functions a #JSCValue referencing

<function>undefined</function> is returned

Parameters

parametersthe #JSCValue<!-- -->s to pass as parameters to the function, or null

Returns

a #JSCValue with the return value of the function.