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#This is F, new created object, since 'timesRun' is a primitive value, it is copied by value.#thedivisor#After it's being created the 'timesRun' in the new created object is no relationship with the 'timesRun' in IIFE.#thedivisor#Inside this new created returne object, 'timesRun' got the value copied from the IIFE when IIFE run.#thedivisor#At the same time, the 'getTimesRun' and 'plusTimesRun' also remember a different 'timesRun' by closure, which is the original 'timesRun' in the IIFE, and is different from the 'timesRun' property of the new created object.#thedivisor#So, when you change the F.timesRun, only this property changed. - Assistant
#thedivisor#Esse é F, um novo objeto criado. Como 'timesRun' é um valor primitivo, ele é copiado por valor.#thedivisor#Depois de ser criado, o 'timesRun' no novo objeto não tem relação com o 'timesRun' no IIFE.#thedivisor#Dentro deste novo objeto retornado, 'timesRun' recebeu o valor copiado do IIFE quando o IIFE foi executado.#thedivisor#Ao mesmo tempo, o 'getTimesRun' e 'plusTimesRun' também lembram de um 'timesRun' diferente por fechamento, que é o 'timesRun' original no IIFE, e é diferente da propriedade 'timesRun' do novo objeto criado.#thedivisor#Assim, quando você altera o F.timesRun, apenas esta propriedade é alterada.