Skip to content

Instantly share code, notes, and snippets.

@vitalets

vitalets/fp.js

Created Feb 13, 2018
Embed
What would you like to do?
// filter array by value
1. f(2, [1, 2, 3, 2]) // -> [2, 2]
2. f([1, 2, 3, 2], 2) // -> [2, 2]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.