Two of the most useful operators when working with collections are
.filter(). We want our transducers to be able to combine these operations in a single pass when iterating through our collections. To do this we need to find a commonality between the two, so we can treat them the same. To achieve this common ground, we'll create
filter() functions which use the built in
.reduce() function under the hood instead, and we’ll start to combine the concepts of transforming and reducing.
What is the webstorm plugin you're using for inline as-you-type execution of your JS?
It's called quokka, check it out https://quokkajs.com/