S
Size: a a a
S
S
КК
S
Р
J
GZ
S
GZ
BB
КК
function reduce(fn, acc = this[0]) {
let i = acc === this[0] ? 1 : 0;
for (; i < this.length; i++) {
acc = fn(acc, this[i], i, this);
}
return acc;
}
Array.prototype.someReduce = reduce;
А
А
А
v
VD
VH
ДП
VD