• + 0 comments

    function factorial(x){ let factorial=1; while(x){ factorial*=x x--; } return factorial; }