๐ฐ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
Was this helpful?