[JavaScript] Pass an object as function argument
You are probably used to passing arguments to a function in this way:
function man (name, age, city){
console.log ('name: '+name+' age: '+age+' city: '+city);
}
man ('Frank', 40, 'Amsterdam')
But what happens then if you pass those arguments in t...
snapydeveloper.hashnode.dev2 min read