La lección 39 es incorrecta.
He usado el método pop y no funciona
// Configuración
const myArray = [[“John”, 23], [“cat”, 2]];
// Cambia solo el código debajo de esta línea
const removedFromArray = myArray.pop();
Me da 2/3 partes mal.
La lección 39 es incorrecta.
He usado el método pop y no funciona
// Configuración
const myArray = [[“John”, 23], [“cat”, 2]];
// Cambia solo el código debajo de esta línea
const removedFromArray = myArray.pop();
Me da 2/3 partes mal.
removedFromMyArray
should only contain["cat", 2]
.
Your code
const removedFromArray = myArray.pop();
Check the variable name.
If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.
The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.
Thank you.