code: function getVisibleTodos(model) {
  	switch (model.visible) {
  		case 'All':
  			return model.todos;
  		case 'Complete':
  			return model.todos.filter(x => x.completed);
  		case 'Incomplete':
  		default:
  			return model.todos.filter(x => !x.completed);
  	}
  }
docs: /* UTILITIES