locked
i just want to output RRS feed

  • Question

  • i want just out put of this following in javascript

    function adder(e){

    return function(x){

    return x + e;

    };

    };

    var add10 = adder(10);

    var add20 = adder(20);

    console.log(add10(25));

    console.log(add20(35));

    Thursday, November 26, 2015 10:50 AM