It's just amazing that you can not only pass an array of objects, you can pass an array of functions, as a function is a first-class citizen in JavaScript.
And also, C# has a reduce method named Aggregate, which I think reflects more of what it does.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
My favorite is a
pipe
method.It's just amazing that you can not only pass an array of objects, you can pass an array of functions, as a function is a first-class citizen in JavaScript.
And also, C# has a reduce method named Aggregate, which I think reflects more of what it does.