repl.it
@anonymous/TraumaticGoodClownanemonefish
JavaScript

No description

// Javascript
function my_sum(a, b) {
    var total = 0;  // var initialization
    var i = a;       // var initialization
    while (i <= b) {
        total = total + i;
        i = i + 1;
    }
    return total;
}
 
console.log( my_sum(10, 100) );
Native Browser JavaScript