addition of two numbers in javascript using functions code example
Example 1: how to add two numbers in javascript
let a = 4;
let b = 5;
document.write(a + b);
Example 2: add two numbers javascript
var x = 2 + 3;
//x = 5
let a = 4;
let b = 5;
document.write(a + b);
var x = 2 + 3;
//x = 5