function foo(props) {
  let x = props.x;
  let y = x++;
  let z = x--;
  return { x, y, z };
}