Ad
  • Custom User Avatar

    Javascript. What are the context for NaN outputs. The instruction clearly states to find the sum of the sequence and if begin is greater than end sum should be 0. However, some of the expected outputs are asking for NaN. I already have a code written which give the sum of the sequence and if begin is greater than end sum is 0.