Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Function in Typescript

function sumNumbers(num1:number,num2:number):number{
    return num1*num2;
    }
const total = sumNumbers(2,4
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Function #Typescript
ADD COMMENT
Topic
Name
7+1 =