DEV Community

Discussion on: The Six Functions That Will Ace Your VueJs Projects

Collapse
t_pavard profile image
Tristan Pavard

I feel like you could replace your iterator function with the map method.

const result = arr.map(func);
Enter fullscreen mode Exit fullscreen mode