diff --git a/curriculum/challenges/spanish/02-javascript-algorithms-and-data-structures/object-oriented-programming/remember-to-set-the-constructor-property-when-changing-the-prototype.spanish.md b/curriculum/challenges/spanish/02-javascript-algorithms-and-data-structures/object-oriented-programming/remember-to-set-the-constructor-property-when-changing-the-prototype.spanish.md
index 09502a081a..820b292e0a 100644
--- a/curriculum/challenges/spanish/02-javascript-algorithms-and-data-structures/object-oriented-programming/remember-to-set-the-constructor-property-when-changing-the-prototype.spanish.md
+++ b/curriculum/challenges/spanish/02-javascript-algorithms-and-data-structures/object-oriented-programming/remember-to-set-the-constructor-property-when-changing-the-prototype.spanish.md
@@ -6,13 +6,13 @@ videoUrl: ''
localeTitle: Recuerde establecer la propiedad del constructor al cambiar el prototipo
---
-## Description
+## Descripción
Hay un efecto secundario crucial de configurar manualmente el prototype
en un nuevo objeto. Se borró la propiedad del constructor
! El código del desafío anterior imprimirá lo siguiente para el duck
: console.log (duck.constructor)
// imprime 'indefinido' - ¡Vaya!
Para solucionar esto, siempre que un prototipo se establezca manualmente en un nuevo objeto, recuerde definir la propiedad del constructor
: Bird.prototype = {
constructor: Bird, // define la propiedad del constructor
NumLegs: 2,
comer: función () {
console.log ("nom nom nom");
}
describe: function () {
console.log ("Mi nombre es" + this.name);
}
};
-## Instructions
+## Instrucciones
Definir la propiedad del constructor
en el prototype
Dog
.
-## Tests
+## Pruebas
```yml
@@ -34,7 +34,7 @@ function Dog(name) {
this.name = name;
}
-// Modify the code below this line
+// Modifica el código debajo de esta linea
Dog.prototype = {
numLegs: 2,
@@ -54,10 +54,10 @@ Dog.prototype = {
-## Solution
+## Solución
```js
-// solution required
+// Solución requerida
```