DM
Size: a a a
DM
DM
Кm
next() ещё одна обёртка?nextImage?NK
Кm
NK
Кm
NK
Кm
NK
DM
Кm
function nextGenerator() {
let count = 0;
return function() {
return count++;
};
}let next = nextGenerator()next(); next(); next(); //0 1 2Кm
DM
DM
Кm
DM
Кm
DM