loading.............
Viendo mejor el codigo de mootools pues veo que lo hace igual jeje a mano
Código PHP:
indexOf: function(item, from){
var len = this.length;
for (var i = (from < 0) ? Math.max(0, len + from) : from || 0; i < len; i++){
if (this[i] === item) return i;
}
return -1;
},
Como vez, solo es un bucle que se detiene si encuentra el valor :|
connection closed.