Funciones anónimas con argumentos en JavaScript
let printName = function (name) {
console.log('Hello ',name);
};
printName('Chandler Bing');
Gorgeous Gazelle
let printName = function (name) {
console.log('Hello ',name);
};
printName('Chandler Bing');