JsFunction.withThis constructor
- Function f
Returns a JsFunction that captures its 'this' binding and calls f
with the value of JavaScript this
passed as the first argument.
Implementation
external factory JsFunction.withThis(Function f);
Returns a JsFunction that captures its 'this' binding and calls f
with the value of JavaScript this
passed as the first argument.
external factory JsFunction.withThis(Function f);