0
I'm stuck in my code, I can't figure out what isn't a number.
https://code.sololearn.com/W7xxyOLt2H4q/#js Here is my code, I have tried a few different console.log attempt's but I can't figure out what isn't defined.
3 odpowiedzi
+ 4
Can you please make this code in Sololearn Playground so we can easily identify the errors.
+ 3
wrong sequence in doPayment(), you used the variables before they are declared and initialized when you call computePayment()
0
I want to add that it's not enough to just post a long code, basically with the message 'please debug this for me'.
You should first try yourself with all means to find the problem.
If you still fail, you should describe the issue fully and report all the countermeasures you have already tried, and point us to the part of code where you suspect the error.