How do I fix this error in JS? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
10th Jul 2020, 1:55 AM
TheCoolTroy
3 Answers
0
If I am right, the code should check the sum of the first row? I make some changes in js file. Fixed error: - missing () in if statement Removed: - multiple functions with the same name Added: - NaN check for the <td> value - convert <td> value from String to Number for calcuating row sum https://code.sololearn.com/WF65YsuqpbR5/?ref=app#js
10th Jul 2020, 4:44 AM
Esch
Esch - avatar
0
EDU education What was the cause of the initial syntax error?
10th Jul 2020, 5:28 AM
ODLNT
ODLNT - avatar
0
Edu thanks so much!
10th Jul 2020, 2:49 PM
TheCoolTroy