6 lines
82 B
TypeScript
6 lines
82 B
TypeScript
function sum(a: number, b: number)
|
|
{
|
|
return a + b;
|
|
}
|
|
|
|
console.log(sum(2, 3)); |