Hi, Ramda newbie
const a = [1,2]
const b = [5, 6, 7, 8]
R.?(a, b)
expected result:
[6, 7] // filter index as a's elements
how to do this?
pick
returns object not list
props(a, b)
:)
slice
won't work if a
is [1, 3]
[6, 8]
rather than [6, 7, 8]