TS - Functions with parameters.

by Rodwyn Moreno

TypeScript

function fullName( name:string, lastName:string ):string {
	return name + ' ' + lastName;
}

let name = fullName("Maeto","Moreno");

console.log(name);