17 lines
No EOL
194 B
JavaScript
17 lines
No EOL
194 B
JavaScript
function component(foo, bar) {
|
|
let x = {
|
|
foo
|
|
};
|
|
let y = {
|
|
bar
|
|
};
|
|
(function () {
|
|
let a = {
|
|
y
|
|
};
|
|
let b = x;
|
|
a.x = b;
|
|
})();
|
|
y |> mutate(%);
|
|
return x;
|
|
} |