Arrays


#1

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at
JavaScript: Arrays

<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>message
The code gave the correct answer but also received this error:
Did you change the second element of your array to be ‘Learn a new language’ using newYearsResolution[1]?

```

Replace this line with your code.
let newYearsResolutions = [“Rappel into a cave”, “Take a falconry class”, “Learn to juggle”];

newYearsResolutions[1] = “Learn a new language.”;
console.log(newYearsResolutions[1]);

<do not remove the three backticks above>

#2

Compare this to your code.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.