Javascript Map Function Return Undefined Stack Overflow

Javascript Map Function Return Undefined Stack Overflow