Transpose a JavaScript array using Ramda JS and ES6 syntax

This will be a short post because it will set up for my next much longer post. Basically, I need to write a function that transpose an array. I’d like to use Ramda JS and ES6 syntax.

Of course, someone else already asked and several others already answered the question. But since an answer based on Ramda JS and ES6 has not been answered yet, I chime in.

Here’s my solution:

And the playground.

Like what you read? Give Kevin Le a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.