Return the longest string from an array of strings

// Write a function that takes an array of strings as argument
// Return the longest string
function
myFunction
(
arr
)
{

return
}
Test Cases:
myFunction(['help', 'me'])
Expected
'help'
myFunction(['I', 'need', 'candy'])
Expected
'candy'