Wolfram defines Global Maxima as :
A global maximum, also known as an absolute maximum, the largest overall value of a set, function, etc., over its entire range.
As per the definition, I'm not sure if $\infty$ can be considered as the global maxima for functions like $x$, $x^2$, etc. What if we consider the extended real number set?