Codewars 7 kyu Parts of a List JavaScript

preview_player
Показать описание
this one uses the map(), slice(), and join() methods

Рекомендации по теме
Комментарии
Автор

I'm sorry, I'm struggling to understand nested for loop setup, why the first for loop goes up to but not including last idx (arr.length -1), and why for the next iteration j < i?
Thanks in advance!

anastasialukavsky
join shbcf.ru