Edit in JSFiddle

var persons = [ 'Peter', 'Jonah', 'Tyler', 'Jessica', 'Michael' ];
var person;

for (var i = 0; i < persons.length; i++) {
    var person = persons[i];

    (function(name) {
        // async operation
        setTimeout(function() {
            console.log('Hello', name);   
        }, 10);    
    })( person );
    
}