🔰function forwarding

🚧 under construction -> function context

JSvaluefunction ⟩ forwarding

Passing all arguments along with the context to another function is called call forwarding.

function f() {
    // forward call to g()
    return g.apply(this, arguments);
}

Last updated