function method
Creates a function that retains body until JavaScript collects it.
Implementation
JsFunction function(String name, Object? Function(JsArguments) body) =>
_newFunction(name, body);
Creates a function that retains body until JavaScript collects it.
JsFunction function(String name, Object? Function(JsArguments) body) =>
_newFunction(name, body);