Answers for "Simple code example of adding two numbers in typescript"

0

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 );
Posted by: Guest on April-10-2022

Code answers related to "Simple code example of adding two numbers in typescript"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language