ivquatch·il y a 16 ans·discussProbably not the best way to do it, but I've done something like this before.els[i].addEventListener("click",(new function(){var this._i = i; function message(){alert(_i);}}).message);
els[i].addEventListener("click",(new function(){var this._i = i; function message(){alert(_i);}}).message);