Skip to content

Instantly share code, notes, and snippets.

@freshcutdevelopment
Last active September 25, 2016 15:24
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/74f4792014499f5c002cee312eb50689 to your computer and use it in GitHub Desktop.
Save freshcutdevelopment/74f4792014499f5c002cee312eb50689 to your computer and use it in GitHub Desktop.
var completedItems = [];
for(var i = 0; i < todoItems.length; i++ ){
if(todoItems[i].is_complete){
completedItems.push(todoItems[i]);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment