Sorry for the vague title, I feel like I cannot explain it properly with such few words, so I'll try here:
$$\lim_{x\rightarrow0^+}\left( \frac{x\arctan{(1/x)}}{\sin{3x}} \right) = \lim_{x\rightarrow0^+}\left( \frac{x\cdot\frac{\pi}{2}}{\sin{3x}} \right)$$
Would evaluating first $\arctan({1/x})$ and then use L'hopital's rule be allowed? Or would I have to use L'hopital's rule first before evaluating any factor? I still seem to get the right answer though, which is $\frac{\pi}{6}$.