JSTQL-JS-Transform/output_testing/623primitive-alias-mutate.js

11 lines
141 B
JavaScript
Raw Normal View History

function component(a) {
let x = "foo";
if (a) {
x = "bar";
} else {
x = "baz";
}
let y = x;
y |> mutate(%);
return y;
}