function foo(a, b, c) {
// Construct and freeze x, y
const x = makeObject(a);
const y = makeObject(a);
<div>
{x}
{y}
</div>;
// z should depend on `x`, `y.method`, and `b`
const z = x[y.method](b);
return z;
}
function foo(a, b, c) {
// Construct and freeze x, y
const x = makeObject(a);
const y = makeObject(a);
<div>
{x}
{y}
</div>;
// z should depend on `x`, `y.method`, and `b`
const z = x[y.method](b);
return z;
}