๐Ÿ”ฐfunction forwarding

๐Ÿšง under construction -> function context

JS โŸฉ value โŸฉ function โŸฉ 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