instanceof...indexOf...what's the difference really?