Function js::jsapi::JS_CallFunctionValue
[−]
[src]
pub unsafe extern "C" fn JS_CallFunctionValue(
cx: *mut JSContext,
obj: HandleObject,
fval: HandleValue,
args: *const HandleValueArray,
rval: MutableHandleValue
) -> bool
Call a function, passing a this-value and arguments. This is the C++
equivalent of rval = Reflect.apply(fun, obj, args)
.
Implements: ES6 7.3.12 Call(F, V, [argumentsList]). Use this function to invoke the [[Call]] internal method.