//prototype
const/let <FunctionName> = (params: type) :<ReturnType> =>{
....
};
const PrintName = (name: string): string => {
return console.log("my name is " , name) ;
}
const addNumbers =(num1:number,num2:number)=>{
console.log(num1+num2)
}
addNumbers(2,4);