Code-Samples/javascript/9.1_variables_code.html

JavaScript Variables

In below example, num1, num2, and sum are variables

var num1 = 25;
var num2 = 75;
var sum = num1 + num2; // sum is 100

Sum :