I came across with this sentence where "look" was used without preposition afterward. Isn't both ways a noun phrase ? In the other sentences "look" was used before a preposition so what is the different between them ?
1- Be careful to look both ways when you cross the road.
The other examples :
2- They looked at the picture and laughed.
3- Look at all these toys on the floor.