11 lines
126 B
JavaScript
11 lines
126 B
JavaScript
|
function component(a) {
|
||
|
let t = {
|
||
|
a
|
||
|
};
|
||
|
// hoisted call
|
||
|
t |> x(%);
|
||
|
function x(p) {
|
||
|
p.foo();
|
||
|
}
|
||
|
return t;
|
||
|
}
|