Skip to content

Instantly share code, notes, and snippets.

@tincho
Created June 25, 2020 05:39
Show Gist options
  • Save tincho/1088bf83295167cf3cf6afded819812e to your computer and use it in GitHub Desktop.
Save tincho/1088bf83295167cf3cf6afded819812e to your computer and use it in GitHub Desktop.
const combine = (...fns) => (...args) => fns.reduce((returnValues, fn) => [...returnValues, fn(...args)], [])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment