JSTQL-JS-Transform/output_testing/1139capturing-func-alias-computed-mutate-iife.js

18 lines
260 B
JavaScript
Raw Normal View History

const {
mutate
} = "shared-runtime" |> require(%);
function component(a) {
let x = {
a
};
let y = {};
(function () {
y["x"] = x;
})();
y |> mutate(%);
return y;
}
export const FIXTURE_ENTRYPOINT = {
fn: component,
params: ["foo"]
};