Static properties and methods by cortizg · Pull Request #172 · javascript-tutorial/es.javascript.info

@cortizg

@cortizg

@javascript-translate-bot

Error: the article already has PR number in the Progress Issue #17, it's 167 ⁉️

@cortizg

@cortizg

joaquinelio

Choose a reason for hiding this comment

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

Está perfecta. O estoy ciego. Deberían coincidir las líneas, agregué 2 suggest.

alert( article.title ); // Today's digest
alert( article.title ); // Resumen de hoy
```
Ahora, cada vez que necesitamos crear un resumen de hoy, podemos llamar a `Article.createTodays()`. Una vez más, ese no es el método de un objeto artículo, sino el método de toda la clase.

Choose a reason for hiding this comment

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

Ahora, cada vez que necesitamos crear un resumen de hoy, podemos llamar a `Article.createTodays()`. Una vez más, ese no es el método de un objeto artículo, sino el método de toda la clase.
Ahora, cada vez que necesitamos crear un resumen de hoy, podemos llamar a `Article.createTodays()`. Una vez más, ese no es el método de un objeto artículo, sino el método de toda la clase.
class Animal {
static planet = "Earth";

static planet = "Tierra";

Choose a reason for hiding this comment

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

static planet = "Tierra";
static planet = "Tierra";

@javascript-translate-bot

Please make the requested changes. After it, add a comment "/done".
Then I'll ask for a new review 👻

@javascript-translate-bot

Thank you 💖 I updated the Progress Issue #17 🎉 🎉 🎉