#JavaScript test question

2 messages · Page 1 of 1 (latest)

west nexus
#

What is the value of num assuming that all 12 elements of array test are initialized to 3?

++test[ 7 ];
var num = test[ 7 ];

a) 3
b) 4
c) 8
d) 10

ashen gale
#

b