javascript-tutorial / javascript-tutorial/en.javascript.info
Wrong term used in class article
- Vorherrschende Sprache
- HTML
- Sterne
- 25.5k
- Forks
- 4k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
In the chapter "Class basic syntax", in the second example of "what is a class" section, on line 15 of the code it is written in the comment that "there are exactly two methods in the prototype" (constructor, sayHi) which I believe is wrong as constructor is a property referencing the constructor function, right? So shouldn't it be "there are exactly two properties" or maybe "two keys"?
Link to the section - https://javascript.info/class#what-is-a-class
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Öffne den verlinkten Artikel „Class basic syntax“ und untersuche das zweite Beispiel im Abschnitt „what is a class“, insbesondere Zeile 15. Überprüfe die verwendete Terminologie für die Prototype-Einträge, aktualisiere den Kommentar bei Bedarf und bestätige, dass das Beispiel die Klassenstruktur korrekt beschreibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 45/100