tanzie1313 / js-arrays-lab

0 stars 0 forks source link

total variable initialized incorrectly #6

Open DigitalPhoneme opened 3 weeks ago

DigitalPhoneme commented 3 weeks ago

https://github.com/tanzie1313/js-arrays-lab/blob/927a5d14a996d6175799bb52a9243928007ac415/app.js#L277

value is an integer that you are trying to perform math on. total also needs to be an integer, not an array. Replace with total = 0