reduce

6 views
Skip to first unread message

Olivier Penhoat

unread,
Feb 16, 2017, 6:19:41 AM2/16/17
to pogoscript
Hi all,

It's easy to do a 'filter' or a 'map' with pogoscript, but I cannot find a way to do a 'reduce', is it possible ?

Thx

Tim Macfarlane

unread,
Feb 16, 2017, 10:31:41 AM2/16/17
to pogoscript
Hi Olivier,

In short, no. Just filter/map. You can of course fall back to JavaScript's Array.reduce() however.

Tim.
Reply all
Reply to author
Forward
0 new messages