JAVA SCRIPT loop ,help

JAVA SCRIPT loop ,help
0

#1

Why total equal 20?


#2

You were adding the numbers in myArr.

2 + 3 + 4 + 5 + 6 = 20


#3

thanks.:slight_smile: