🚧 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); }
js.info ⟩ func.apply ⭐️
Function.prototype.apply()
Last updated 1 year ago