function foo() {
  const x = [];
  const y = {};
  y.x = x;
  return y;
}