function (iter) {
            summary.getArticle(function(article) {
                var jsonArticle = encodeSummaryArticle(article, false);

                return iter(jsonArticle);
            });
        }
function (iter) {
            summary.getArticle(function(article) {
                var jsonArticle = encodeSummaryArticle(article, false);

                return iter(jsonArticle);
            });
        }
function ( iter ) { summary . getArticle ( function ( article ) { var jsonArticle = encodeSummaryArticle ( article , false ) ; return iter ( jsonArticle ) ; } ) ; }
Iterate over the summary, it stops when the "iter" returns false

@param {Function} iter
Iterate over the summary it stops when the iter returns false
iter is a function that returns an array of objects