Note that the domain of a function whose graph is shown is the projection of the graph into the x-axis.
So, if we projected (or mapped) the graph to the x-axis, the whole negative x-axis, + 0, would be 'colored in blue'. So, the domain is (-∞, 0].
Similarly, the range is found by mapping into the y-axis. So, we see that the range of the function is (-∞, 0], as the whole negative y-axis, +0, would be colored in blue.
The only right answer is: the domain and the range of the function are the same.