Uh oh!
There was an error while loading. Please reload this page.
Prototypal inheritance - #230
Conversation
- Tasks 'importance'; - Trocar 'setar' por 'configurar'; - Translate strings in code;
odsantos
left a comment
There was a problem hiding this comment.
Hello @flaviohblima ,
Here is a review.
Please, feel free to leave a note where you might disagree.
Thank you,
Osvaldo.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
javascript-translate-bot
commented
Dec 20, 2021
Please make the requested changes. After it, add a comment "/done". |
…elete/task.md Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
…/solution.md Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
…/solution.md Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
…/task.md Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
…olution.md Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
…olution.md Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
…ask.md Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
…lution.md Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
…lution.md Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
…lution.md Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
…sk.md Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
Co-authored-by: Osvaldo Dias dos Santos <osvaldo.msdsantos@yahoo.com>
flaviohblima
commented
Feb 26, 2022
/done |
odsantos
commented
Dec 11, 2022
Hi @flaviohblima , Still working in this one? Please, let me know if you haven't time and I might be able to resolve it. Thanks, |
flaviohblima
commented
Dec 13, 2022
Hi @odsantos , Sorry I could not resolve this pull request. In any case, feel free to resolve the conflicts and close it. Team work is always quickier! Thank you, |
odsantos
commented
Dec 23, 2022
Hi @flaviohblima , I'll try to resolve the conflicts but keep it open. Thank you, |
nazarepiedady
commented
Mar 1, 2024
@peruibeloko, @jonnathan-ls, do you have time to see what is possible to do in relation to this pull request? |
peruibeloko
left a comment
There was a problem hiding this comment.
Parece bastante coisa, mas na verdade são só alterações pequenas e pedidos de tradução do código.
Acredito que seja importante traduzir os nomes usados nos exemplos do artigo, já que o tópico pode ser de difícil compreensão para iniciantes
| # Herança Prototipada | ||
| In programming, we often want to take something and extend it. | ||
| Na programação, nós sempre queremos extender algum comportamento. |
There was a problem hiding this comment.
| Na programação, nós sempre queremos extender algum comportamento. | |
| Na programação, é comum querermos extender algum comportamento. |
| 1. `true`, obtido de `rabbit`. | ||
| 2. `null`, obtido de `animal`. | ||
| 3. `undefined`, essa propriedade não existe mais. |
There was a problem hiding this comment.
| 1.`true`, obtido de `rabbit`. | |
| 2.`null`, obtido de `animal`. | |
| 3.`undefined`, essa propriedade não existe mais. | |
| 1.`true`, obtido de `coelho`. | |
| 2.`null`, obtido de `animal`. | |
| 3.`undefined`, essa propriedade não existe mais. |
| For that reason `admin.fullName` works correctly in the code below: | ||
| Por essa razão, `admin.fullName` funciona corretamente no código abaixo: | ||
| ```js run |
| The call `rabbit.sleep()` sets `this.isSleeping` on the `rabbit` object: | ||
| A chamada de `rabbit.sleep()` configura `this.isSleeping` no objeto `rabbit`: | ||
| ```js run |
| For instance: | ||
| Por exemplo: | ||
| ```js run |
| ```smart header="Almost all other key/value-getting methods ignore inherited properties" | ||
| Almost all other key/value-getting methods, such as `Object.keys`, `Object.values` and so on ignore inherited properties. | ||
| ```smart header="Quase todas as outras chaves/métodos *obtém-valor* ignoram propriedades herdadas." |
There was a problem hiding this comment.
| ```smart header="Quase todas as outras chaves/métodos *obtém-valor* ignoram propriedades herdadas." | |
| ```smart header="Quase todos os métodos que obtém valores a partir de chaves ignoram propriedades herdadas." |
| - If we call `obj.method()`, and the `method` is taken from the prototype, `this` still references `obj`. So methods always work with the current object even if they are inherited. | ||
| - The `for..in` loop iterates over both its own and its inherited properties. All other key/value-getting methods only operate on the object itself. | ||
| - No Javascript, todos os objetos possuem uma propriedade `[[Prototype]]` escondida que ou é um objeto ou é `null`. | ||
| - Nós podemos usar `obj.__proto__` para acessá-lo (um histórico getter/setter, mas já existem alternativas, que veremos em breve). |
There was a problem hiding this comment.
| - Nós podemos usar `obj.__proto__` para acessá-lo (um histórico getter/setter, mas já existem alternativas, que veremos em breve). | |
| - Nós podemos usar `obj.__proto__` para acessá-lo (um getter/setter mantido historicamente, mas já existem alternativas, que veremos em breve). |
javascript-translate-bot
commented
Mar 6, 2024
Please make the requested changes. After it, add a comment "/done". |
nazarepiedady
commented
Mar 6, 2024
@peruibeloko, I was talking about to edit this pull request and approved if possible. |
peruibeloko
commented
Mar 6, 2024
@nazarepiedady I believe the repo is write protected, but it I'll see what I can do |
javascript-translate-bot
commented
Nov 2, 2024
Thank you 💖 I updated the Progress Issue #1 🎉 🎉 🎉 |
Prototypal inheritance