// ::xum::.org // firstIndexOf(arg) // -------------------------------------------- // premier index de "arg" dans un tableau ou '-1' // si non present Array.prototype.firstIndexOf = function(arg){ var p=-1,v; for(v in this){this[v]==arg? p=v : null;} return(p) }