 class="nf">toggleFavorite</span><span class="p">(</span><span class="n">movieId</span><span class="p">)</span> <span class="o">=</span> <span class="n">action</span> <span class="k">else</span> <span class="p">{</span> <span class="k">return</span> <span class="p">}</span>

        <span class="k">let</span> <span class="nv">favoritesList</span> <span class="o">=</span> <span class="nf">getState</span><span class="p">()</span>
        <span class="k">let</span> <span class="nv">makeFavorite</span> <span cl