Trouble Coding Iterators


#1

Hello,

Could someone please help me correct the following code?

let bigNumbers = [100, 200, 300, 400, 500];

// Create the smallNumbers array below

let smallNumbers = bigNumbers.map(funtcion(bigNumbers){
return bigNumbers / 100;
})

console.log(smallNumbers());


#2

i thought i also asked you to include the error message and exercise url? The better you make a topic, the better reply you are going to get

just looking at the code, i would say the problem is that you made smallNumbers() a function call at the last line, is smallNumbers a function?


#3

Thanks. I think I got. I’ll try and be better about how I post in the future.


#4

there is an entire section of the forum devoted to helping new users:

https://discuss.codecademy.com/c/new-users

containing useful information (like format/markup) to help new users, but they rarely seem to find it.


#5

you have a typo funtcion --> function


#6

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