The set of ordered pairs (–1, 8), (0, 3), (1, –2), and (2, –7) represent a function. What is the range of the function?
{x: x = –1, 0, 1, 2}
{y: y = –7, –2, 3, 8}
{x: x = –7, –2, –1, 0, 1, 2, 3, 8}
{y: y = –7, –2, –1, 0, 1, 2, 3, 8}