АГ
Size: a a a
АГ
AK
АГ
AK
АГ
AK
АГ
AK
АГ
АГ
АГ
arg1 = 'abc'
arg2 = 0
output = {a: 0, b:1, c:2 };
// -=-=-=
arg1 = 'abc'
arg2 = 4
output = {a: 4, b:5, c:6 };
АГ
arg1 = 'abc'
arg2 = 0
output = {a: 0, b:1, c:2 };
// -=-=-=
arg1 = 'abc'
arg2 = 4
output = {a: 4, b:5, c:6 };
strToIndex = (str = '', start = 0) => Object.entries(str)
.reduce((memo, [index, string]) => {
memo[string] = Number(index) + start
return memo
}, {});
S
strToIndex = (str = '', start = 0) => Object.entries(str)
.reduce((memo, [index, string]) => {
memo[string] = Number(index) + start
return memo
}, {});
VL
VL
VL
VL
VL