3 ms·Good point. Usually I like to use map or reduce for arrays but here simple for is easier.by gnykka 6y agoGood point. Usually I like to use map or reduce for arrays but here simple for is easier.