How fast is indexOf?

Hi… just wondering:

Does anyone know if using indexOf is faster than using a for loop?