Skip to content

Instantly share code, notes, and snippets.

@DanShappir
Created November 6, 2019 12:27
Show Gist options
  • Save DanShappir/9a4aa63b4a7bfe1ff318d138477e5573 to your computer and use it in GitHub Desktop.
Save DanShappir/9a4aa63b4a7bfe1ff318d138477e5573 to your computer and use it in GitHub Desktop.
Operation as nested functions
const result2 = Array.from(
slice(
map(
filter(numbers, v => v % 2 === 0),
v => v + 1
),
0, 3
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment