Array.prot Array.prototype.map() expects a return value from arrow functionotype.map() expects a return value from arrow function code example
Example: Array.prototype.map() expects a return value from arrow function array-callback-return
Use forEach() instead of map()