Skip to content

Instantly share code, notes, and snippets.

@linonetwo
Created May 24, 2019 08:03
Show Gist options
  • Save linonetwo/179c7b9e3bd7d18b0406364fd6b76239 to your computer and use it in GitHub Desktop.
Save linonetwo/179c7b9e3bd7d18b0406364fd6b76239 to your computer and use it in GitHub Desktop.
lodash #api zip result of two array
const zipResults = _.flow([_.zip, _.flatten, _.compact]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment