Ad
  • Custom User Avatar

    Thank you very much!I had to google to understand a little more about truthy and falsy. this kata is good! please create more!! for a person that is new to JS about 3 months ago i like these fundamental ones.

  • Custom User Avatar

    Truthy and falsy values must be supported. See description.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    same I did what you did, but it won't accept my solution for some reason...

    function towerCombination(n){
    //insert your code here
    var total = n;
    for (i= n; i>2; i--){
    total = total * (i-1);

    }
    

    return total;
    }