Rescreva essa parte da string com as seguintes condições: 1. Não elimine NENHUMA…
- User
Rescreva essa parte da string com as seguintes condições: 1. Não elimine NENHUMA informação dada no artigo. 2. Conceitos, termos ou referências devem ser mantidas em inglês. 3. Apenas transcreva o artigo, tornando ele mais literal e direto, para um português simples, sem alterar o contexto. 4. Não remova as tags HTML e nem os "#thedivisor#". 5. Você deve me enviar sua resposta em texto puro, sem markdown.
#thedivisor#<li class="leading-relaxed mb-1">Now <strong class="font-bold">map</strong> over <code dir="ltr" class="inline text-code text-secondary dark:text-secondary-dark px-1 rounded-md no-underline bg-gray-30 bg-opacity-10 py-px">chemists</code>:</li>#thedivisor#<li class="leading-relaxed mb-1">Lastly, <strong class="font-bold">return</strong> the <code dir="ltr" class="inline text-code text-secondary dark:text-secondary-dark px-1 rounded-md no-underline bg-gray-30 bg-opacity-10 py-px">listItems</code> from your component:</li>#thedivisor#Arrow functions implicitly return the expression right after <code dir="ltr" class="inline text-code text-secondary dark:text-secondary-dark px-1 rounded-md no-underline bg-gray-30 bg-opacity-10 py-px">=></code>, so you didn’t need a <code dir="ltr" class="inline text-code text-secondary dark:text-secondary-dark px-1 rounded-md no-underline bg-gray-30 bg-opacity-10 py-px">return</code> statement:#thedivisor#However, <strong class="font-bold">you must write <code dir="ltr" class="inline text-code text-secondary dark:text-secondary-dark px-1 rounded-md no-underline bg-gray-30 bg-opacity-10 py-px">return</code> explicitly if your <code dir="ltr" class="inline text-code text-secondary dark:text-secondary-dark px-1 rounded-md no-underline bg-gray-30 bg-opacity-10 py-px">=></code> is followed by a <code dir="ltr" class="inline text-code text-secondary dark:text-secondary-dark px-1 rounded-md no-underline bg-gray-30 bg-opacity-10 py-px">{</code> curly brace!</strong>#thedivisor#Arrow functions containing <code dir="ltr" class="inline text-code text-secondary dark:text-secondary-dark px-1 rounded-md no-underline bg-gray-30 bg-opacity-10 py-px">=> {</code> are said to have a <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions#function_body" target="_blank" rel="nofollow noopener noreferrer" class="inline text-link dark:text-link-dark border-b border-link border-opacity-0 hover:border-opacity-100 duration-100 ease-in transition leading-normal">“block body”.</a> They let you write more than a single line of code, but you <em>have to</em> write a <code dir="ltr" class="inline text-code text-secondary dark:text-secondary-dark px-1 rounded-md no-underline bg-gray-30 bg-opacity-10 py-px">return</code> statement yourself. If you forget it, nothing gets returned! - Assistant
#thedivisor#Agora mapeie sobre químicos:#thedivisor#Por fim, retorne os listItems do seu componente:#thedivisor#Funções de seta retornam implicitamente a expressão logo após =>, então você não precisa de uma declaração de return:#thedivisor#No entanto, você deve escrever return de forma explícita se o seu => for seguido por uma { chave!#thedivisor#Funções de seta que contêm => { são chamadas de “bloco de código”. Elas permitem que você escreva mais de uma linha de código, mas você tem que escrever uma declaração de return você mesmo. Se você esquecer, nada será retornado!