diff --git a/challenges/01-front-end-development-certification/object-oriented-and-functional-programming.json b/challenges/01-front-end-development-certification/object-oriented-and-functional-programming.json index 122f3ac2f0..d92b5b8a93 100644 --- a/challenges/01-front-end-development-certification/object-oriented-and-functional-programming.json +++ b/challenges/01-front-end-development-certification/object-oriented-and-functional-programming.json @@ -306,7 +306,6 @@ "description": [ "The map method is a convenient way to iterate through arrays. Here's an example usage:", "
var oldArray = [1, 2, 3];
var timesFour = oldArray.map(function(val){
  return val * 4;
});
console.log(timesFour); // returns [4, 8, 12]
console.log(oldArray); // returns [1, 2, 3]
", - "", "The map method will iterate through every element of the array, creating a new array with values that have been modified by the callback function, and return it. Note that it does not modify the original array.", "In our example the callback only uses the value of the array element (the val argument) but your callback can also include arguments for the index and array being acted on.", "Use the map function to add 3 to every value in the variable oldArray, and save the results into variable newArray. oldArray should not change." @@ -338,7 +337,6 @@ "var porCuatro = vectorAntiguo.map(function(val){", "  return val * 4;", "});", - "", "El método map iterará sobre cada elemento del vector, creando un nuevo vector con los valores modificados por la función de devolución de llamada (callback) y retornará ese nuevo arreglo.", "En nuestro ejemplo, la función de devolución de llamada sólo usa el valor del elemento del vector sobre el que está iterando (parámetro val), pero tu función de devolución de llamada también puede incluir parámetros para el índice y el vector completo. ", "Usa la función map para añadir 3 a cada valor de la variable oldArray."