17 lines
283 B
JavaScript
17 lines
283 B
JavaScript
|
function foo(x, y, z) {
|
||
|
const items = [z];
|
||
|
x |> items.push(%);
|
||
|
const items2 = [];
|
||
|
if (x) {
|
||
|
y |> items2.push(%);
|
||
|
}
|
||
|
if (y) {
|
||
|
x |> items.push(%);
|
||
|
}
|
||
|
return items2;
|
||
|
}
|
||
|
export const FIXTURE_ENTRYPOINT = {
|
||
|
fn: foo,
|
||
|
params: ["TodoAdd"],
|
||
|
isComponent: "TodoAdd"
|
||
|
};
|