Created
June 24, 2020 19:42
-
-
Save LFTroya/65c0f7ba7af937445c91ef748ca8b0b0 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
currentMonths.map(currentMonth => { | |
const transaction = results.transactions.find(transaction => { | |
return `${transaction.year}-${transaction.month}` === `${currentMonth.year}-${currentMonth.month}` | |
}); | |
console.log(transaction.details) // Aqui estan los detalles de ese mes | |
}) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment