javascript function always return the first element

javascript return a function
javascript function return undefined
javascript return function object
javascript function return value to variable
javascript function return multiple values
javascript functions list
arrow function javascript
anonymous function javascript