JSFiddle - React, Tailwind, and code Playground

by 3gwebtrain

JavaScript

var names = [{'name':'one'}, {'name':'two'}, {'name':'three'}, {'name':'four'}, {'name':'five'}];

var helloNames = _(names).map(function(obj){
    return "Hello :" + obj.name;
});

console.log(helloNames);