function getShortMessages(messages) {
  // SOLUTION GOES HERE
}

module.exports = getShortMessages

function getShortMessages(messages) {
  return messages.filter(function(obj){
    return obj['message'].length < 50;
  }).map(function(v){
    return v['message'];
  });
}

module.exports = getShortMessages

Add get short messages solution
Add get short messages solution
