_lhermann’s avatar_lhermann’s Twitter Archive—№ 133

  1. …in reply to @iamrockyclark
    @RockyClark1 One of your grades might be a string instead of a number and it concatenation. You can try parseInt(grades[i]). Also grades.reduce(...) might be great instead of the for loop