Domanda forse banale, ma js mi sta un po' antipatico...

Se in un documento ho un tot di link ,
visto che document.links è l'array che li contiene tutti, se ne scelgo uno qualsiasi come faccio a sapere a che indice corrisponde nell'array js?
Grazie!