Function js_sys::Reflect::apply

source ยท
pub fn apply(
    target: &Function,
    this_argument: &JsValue,
    arguments_list: &Array,
) -> Result<JsValue, JsValue>
Expand description

The static Reflect.apply() method calls a target function with arguments as specified.

MDN documentation