Skip to content

Commit 33ea41a

Browse files
authored
Merge pull request #200 from AnggieAlava/bug/1467-addObjectProperty
Instrucciones redactadas de forma mas especifica en el readme
2 parents c0302f9 + 3d2ee1a commit 33ea41a

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

exercises/033-addObjectProperty/README.es.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
## 📝 Instrucciones:
44

5-
1. Escribe una función llamada `addObjectProperty`. Dados dos objetos y una clave (key), `addObjectProperty` establece una nueva propiedad en el primer objeto con la clave (key) dada. El valor de esa nueva propiedad es el segundo objeto.
6-
2. La función `addObjectProperty` debe devolver el primer objeto con la nueva propiedad.
5+
1. Escribe una función llamada `addObjectProperty`. Esta función toma dos objetos y una clave (key) como argumentos.
6+
2. La función `addObjectProperty` debe establecer una nueva propiedad en el primer objeto utilizando la clave (key) proporcionada. El valor de esta nueva propiedad debe ser el segundo objeto.
7+
3. La función `addObjectProperty` debe devolver el primer objeto modificado con la nueva propiedad.
78

89

910
## 📎 Ejemplo:

exercises/033-addObjectProperty/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
## 📝 Instructions:
44

5-
1. Write a function called `addObjectProperty`. Given two objects and a key, `addObjectProperty` sets a new property on the 1st object at the given key. The value of that new property is the 2nd object.
6-
2. The function `addObjectProperty` should then return the first object with the new property.
5+
1. Write a function called `addObjectProperty`. This function takes two objects and a key as arguments.
6+
2. The `addObjectProperty` function must set a new property on the first object using the key provided. The value of this new property must be the second object.
7+
3. The `addObjectProperty` function must return the first object modified with the new property.
78

89
## 📎 Example:
910

0 commit comments

Comments
 (0)