pub fn lazy_require(
expr: Expr,
mod_ident: Ident,
var_kind: VarDeclKind,
) -> FnDecl
Expand description
function foo() {
const data = expr;
foo = () => data;
return data;
}
pub fn lazy_require(
expr: Expr,
mod_ident: Ident,
var_kind: VarDeclKind,
) -> FnDecl
function foo() {
const data = expr;
foo = () => data;
return data;
}