• Piping reviews

 

I worked with C# a lot, so in JS trying to use 'piping' of operations.

I have a solution(one line) for inversions counter.

Is it good to use such technics in JS?