GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Prototype methods, objects without __proto__ by diogoosz · Pull Request #482 · javascript-tutorial/pt.javascript.info

Conversation

@diogoosz

@diogoosz diogoosz commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Tradução do artigo "Prototype methods, objects without proto" para o português, incluindo os exercícios.

Conforme comentado na #1.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@diogoosz @claude
Translate "Prototype methods, objects without __proto__" article to P…
2df68b0
…ortuguese

Co-Authored-By: Claude Sonnet 5 <[email protected]>
gabifs
gabifs reviewed Nov 12, 2026
View reviewed changes
Comment thread 1-js/08-prototypes/04-prototype-methods/article.md
@@ -1,31 +1,31 @@

# Prototype methods, objects without __proto__
# Métodos de prototype, objetos sem __proto__

@gabifs gabifs Nov 12, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent terminology: this chapter leaves "prototype" untranslated ("Métodos de prototype", "o prototype de rabbit", ...) while sibling chapters in the same section use "protótipo" (01-prototype-inheritance ~20 times, 03 title "Protótipos Nativos"). Readers moving through 08-prototypes see the term switch. Suggest "Métodos de protótipo" and "protótipo" in prose (keep prototype only in code / as the property name F.prototype).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
gabifs
gabifs reviewed Nov 12, 2026
View reviewed changes
Comment thread 1-js/08-prototypes/04-prototype-methods/article.md
O único uso de `__proto__` que não é malvisto é como uma propriedade ao criar um novo objeto: `{ __proto__: ... }`.

Although, there's a special method for this too:
Embora, também exista um método especial para isso:

@gabifs gabifs Nov 12, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ungrammatical: "Embora" is a subordinating conjunction and needs a main clause; "Embora, também exista um método..." reads as an incomplete sentence.

Suggested change
Embora, também exista um método especial para isso:
Porém, também existe um método especial para isso:

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
gabifs
gabifs reviewed Nov 12, 2026
View reviewed changes
Comment thread 1-js/08-prototypes/04-prototype-methods/article.md
Isso é por motivos históricos.

The prototypal inheritance was in the language since its dawn, but the ways to manage it evolved over time.
A herança prototípica existia na linguagem desde o seu início, mas as formas de gerenciá-la evoluíram com o tempo.

@gabifs gabifs Nov 12, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"herança prototípica" here vs "Herança Prototipada" (title and body of 01-prototype-inheritance). Same concept, two names within the section; pick the existing one ("herança prototipada") for consistency.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
gabifs
gabifs reviewed Nov 12, 2026
View reviewed changes
Comment thread 1-js/08-prototypes/04-prototype-methods/article.md
- Later, in the year 2015, `Object.setPrototypeOf` and `Object.getPrototypeOf` were added to the standard, to perform the same functionality as `__proto__`. As `__proto__` was de-facto implemented everywhere, it was kind-of deprecated and made its way to the Annex B of the standard, that is: optional for non-browser environments.
- Later, in the year 2022, it was officially allowed to use `__proto__` in object literals `{...}` (moved out of Annex B), but not as a getter/setter `obj.__proto__` (still in Annex B).
- A propriedade `prototype` de uma função construtora funciona desde tempos bem antigos. É a forma mais antiga de criar objetos com um prototype dado.
- Depois, no ano de 2012, `Object.create` apareceu no padrão. Isso deu a capacidade de criar objetos com um prototype dado, mas não oferecia a capacidade de obtê-lo/defini-lo. Alguns navegadores implementaram o acessor não padronizado `__proto__`, que permitia ao usuário obter/definir um prototype a qualquer momento, pra dar mais flexibilidade aos desenvolvedores.

@gabifs gabifs Nov 12, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"accessor" is translated as "acessor" here but as "propriedade de acesso" at line 146 for the same __proto__ accessor. Use one term throughout (e.g. "o acessor __proto__" / "propriedade acessora").

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
gabifs
gabifs reviewed Nov 12, 2026
View reviewed changes
Comment thread 1-js/08-prototypes/04-prototype-methods/article.md
```

...But that's usually fine for associative arrays.
...Mas isso geralmente não é problema pra arrays associativos.

@gabifs gabifs Nov 12, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Register mix: informal "pra" (also lines 82, 83, 97, 119 and 2-dictionary-tostring/solution.md:31 "pra revisar") alongside "para" elsewhere in the same text. Sibling chapters use "para" (02/03 have zero "pra"). Suggest "para" consistently.

Suggested change
...Mas isso geralmente não é problema pra arrays associativos.
...Mas isso geralmente não é problema para arrays associativos.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@gabifs gabifs mentioned this pull request Nov 12, 2026
Portuguese Translation Progress #1
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@gabifs gabifs gabifs left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@diogoosz @gabifs
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.