55.9k views
4 votes
Given the array, var a = [20, 40, 60, 80, 100], which line of code accesses the value 40?

1 Answer

6 votes

Answer:

1

0 = 20

1=40

2=60

3=80

4=100

etc..

User Wapgui
by
4.1k points