Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Simple code example of adding two numbers in typescript

function addNumbers(a, b) {  
    return a + b;  
}  
var sum = addNumbers(15, 25);  
console.log('Sum of the numbers is: ' + sum );
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Simple #code #adding #numbers #typescript
ADD COMMENT
Topic
Name
7+2 =