Hey guys, no idea what I’m doing wrong here. Thanks for the help
This is what I have so far
var oldArray = [1,2,3,4,5];
// Only change code below this line.
var newArray = oldArray.map(function(val) {
return val + 3;
});
var newArray = oldArray;
Your browser information:
Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
.
Link to the challenge:
https://www.freecodecamp.org/challenges/iterate-over-arrays-with-map