Comment Comment by gnykka Good point. Usually I like to use map or reduce for arrays but here simple for is easier. parent gnykka 6 years ago