_.flow(
_.castArray,
_.partial(_.at, _, ['[0].id', '[0]']),
_.spread(put)
)
Created
April 23, 2016 02:30
-
-
Save mjgpy3/797466aec828c91ba153513308173470 to your computer and use it in GitHub Desktop.
Fun with Lodash
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment