I have been looking for $$ \lim_\limits{x\to 0}{\left({\sin x\over x}\right)}^{1\over x^2}. $$ So I took $$ \lim_\limits{x\to 0}\left({\left({1+{\sin x-x\over x}}\right)}^{({x\over \sin x-x})}\right)^{({1\over x^2})\cdot {({\sin x-x\over x}})} $$ and then looked at $$ \lim_\limits{x\to 0}e^{({1\over x^2})\cdot {({\sin x-x\over x}})}, $$ which I believed I am allowed to given $\lim_\limits{x\to 0}({1\over x^2}){({\sin x-x\over x})}$ is defined and is not $\infty$. But my colleague say it is not defined or by law. How can I know where I am allowed to do such operations and where I am not?? I would appreciate your help.
I know how to solve it; that is not what I look for. I am focusing on the hypothetical aspect of it.