">names</span><span class="p">.</span><span class="nx">findIndex</span><span class="p">(</span><span class="nx">name</span><span class="w"> </span><span class="p">=&gt;</span><span class="w"> </span><span class="nx">name</span><span class="p">.</span><span class="nx">firstName</span><span class="w"> </span><span class="o">===</span><span class="w"> </span><span class="k">this</span><span class="p">.</span><span class="nx">selectedName</span><span class="p">.</span><span class="nx">firstName</span><span clas