A line L is perpendicular to the x-axis and passes through the point (−2,5). Which of the following statements about line L is true?
Its slope is 0.
Its equation is y=5.
It has an undefined slope.
It passes through the origin.