p

Size: a a a
p
F
В
F
В
В
p
const joinReverse = arr => parseInt(arr.reverse().join(''), 10)
const addTwoNumbers = (l1, l2) => {
return String(joinReverse(l1) + joinReverse(l2))
.split('')
.map(x => +x)
.reverse()
}
console.log(addTwoNumbers([2,4,3], [5,6,4]))
В
YP
YP
В
В
YP
YP
YP
В
YP
p
В
YP