Last active
January 9, 2017 16:27
-
-
Save bdavidxyz/e32af14aa7bc58e522dc10652df291dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let result = _.zip(proposals, answers); | |
result = _.map(result, (item) => { | |
if (item[1]) { | |
return [item[0], true]; | |
} else { | |
return [item[0], false]; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment