Let $f, g:\mathbb R\to\mathbb R$ such that $g\in L^\infty(\mathbb R)$ and $f\in C(\mathbb R)$ (i.e. $f$ is a continuous function over $\mathbb R$).
According to me $$f(g):x\in (-2, 2)\mapsto f(g(x))$$ satisfies $f(g)\in L^\infty ((-2, 2))$ since $f$ is continuous and $g$ bounded (the (-2,2) can be replaced with any other symmetric bounded interval).
On the other hand, I am not sure if I can say that $f(g)\in L^\infty(\mathbb R)$.
Anyone could please help me in understanding this? Thank you in advance.