What is the range of the function f(x)=4?

The range is $4$, because $y = y$ can only take on $4$ at any point.