TS - Functions with parameters.
TypeScript
function fullName( name:string, lastName:string ):string {
return name + ' ' + lastName;
}
let name = fullName("Maeto","Moreno");
console.log(name);
function fullName( name:string, lastName:string ):string {
return name + ' ' + lastName;
}
let name = fullName("Maeto","Moreno");
console.log(name);