Forum Discussion
koryknick
5 years agoEmployee
@Tanmay_Sarkar - I haven’t put an example together, but you should be able to do this with a combination of map() and reduce() functions. Looking at the full spec of the Array.map() function, you can access the array as one of the parameters: