export function product(xs: number[]) {
  return xs.reduce((a, b) => a * b, 1);
}
