Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Arrow function in typescript

const addNumbers =(num1:number,num2:number)=>{
    console.log(num1+num2) 
}
addNumbers(2,4);
 
PREVIOUS NEXT
Tagged: #Arrow #function #typescript
ADD COMMENT
Topic
Name
4+8 =