function foo() {
  let x = 1;
  let y = 2;

  if (y) {
    let z = x + y;
  }
}