n><span class="token punctuation">)</span> <span class="token punctuation">{</span>
    <span class="token keyword">var</span> completed <span class="token operator">=</span> <span class="token keyword">this</span><span class="token punctuation">.</span><span class="token function">filterBy</span><span class="token punctuation">(</span><span class="token string">'isCompleted'</span><span class="token punctuation">,</span> <span class="token boolean">true</span><span class="token punctuation">)</span><span c