Iterate over Arrays with map error?

Is something wrong that I can’t see? The console is telling me it’s right but FCC is telling me it isn’t.


You should add three, and not multiply by three :slight_smile:

1 Like

Oh my goodness i’m such an idiot!
I’ve been doing this for too long tonight and can’t read anymore I guess!! lol, Thank you!

However… it’s still not working. :frowning:

You are mapping through the array correctly, but you are assigning it to addThree, not to newArray. You don’t need the variable addThree, just assign it straight to newArray. In other words, add that map function onto the last line there, extending oldArray.

1 Like

Thank you so much! I really appreciate your help! That did the trick. :grin: