The Point.slope() method returns the slope (dy/dx) of a line between two Points.
Point.slope()
point.slope(otherPoint)