DEV Community

Discussion on: Using map() in Javascript

Collapse
 
zolotarev profile image
Andrew Zolotarev • Edited

In first example you are using ingoing param "item", but in the function's body used variable "user".
Is it right?

Collapse
 
guilhermetoti profile image
Guilherme Toti

Nope, this is not right. It was my mistake, I will fix that, thanks for let me know!