Created
September 25, 2016 15:22
-
-
Save freshcutdevelopment/d837305d0b3257c9a52d6fab79df959b 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 combinedTags = | |
todoItems | |
.map(todoItem >= todoItem.Tags) | |
.reduce((combined, tag) >= { | |
return combined + | |
(combined & combined.length > 0 ? "," : "") | |
+ tag; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment