Skip to content

Instantly share code, notes, and snippets.

@freshcutdevelopment
Created September 25, 2016 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save freshcutdevelopment/818dd0dcebb724982dc2e98bead0cbbe to your computer and use it in GitHub Desktop.
Save freshcutdevelopment/818dd0dcebb724982dc2e98bead0cbbe to your computer and use it in GitHub Desktop.
var tags = [];
for(var i = 0; i < todoItems.length; i++ ){
var currentItem = todoItems[i];
tags = tags.concat(currentItem.Tags);
}
var combinedTags = "";
for(var i = 0; i < tags.length; i++){
if(i > 0){
combinedTags += ",";
}
combinedTags += tags[i];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment