私はオブジェクトを介して各ループを持っています、
その中で、いくつかの画像を作成し、最後の反復からの画像への参照のデータをそれらに入れたいと思います。
例えば:
.each((function(some_data){ return function(i, obj){
var prev='???'; // how do I retrieve the value from the last cycle?
var image=new Image();
image.data('prev',prev);
prev=image;
// how do I pass the value to next cycle?
}})(some_data));