Ad

Given this array of string arrays, generate a comment with the first element of the inner arrays (randomizing will not be testable)

Input: [['hi,', 'hello,', 'hey,'], ['how are'], ['you', 'ya'], ['doing', 'going'], ['?','?!', '']]

Output: 'hi, how are you doing?'

var generateComment = function (array){
  
}