• Calculate the sum of Y values.

    Parameters

    • points: Point[] = []

      Object that contains property x and y (an array)

    Returns number