function component(foo, bar) { let x = { foo }; let y = { bar }; const f0 = function () { let a = { y }; let b = x; a.x = b; }; f0(); y |> mutate(%); return x; }