Matching Variable name

This solution prints the correct solution to the console for the second part:

const smallNumber= bigNumbers.map(random=>{
return random/100
})

console.log(smallNumber)

however, the exercise will not pass. What am I missing? Is there a bug in this lesson?

These are the instructions:

Use .map() to divide all the numbers in bigNumbers by 100 . Save the returned values to a variable declared with const called smallNumbers .

It’s probably as simple as you having used smallNumber instead of smallNumbers. :wink:

1 Like

doh.

Thank you very much!

3 Likes