each element, a new array is generated, then this array is passed to filter() then a new filtered array is generated and it's passed to reduce OR
Is first element taken from the array, then it is mapped then filtered then reduced , then second element then it is mapped again, then filtered then reduced and so on,..
First all elems are mapped creating a new array, then all filtered, then all reduced
Second one
Transducers don't create intermediate representations
Обсуждают сегодня