- 1

Retrieve the number of elements in array called test

Retrieve the number of elements in array called test

31st Oct 2017, 4:00 PM
lakshmi v
6 odpowiedzi
+ 10
@lakshmi: You don't need to answer it’s length or word actually. The answer is test.length (test is already written for you.)
31st Oct 2017, 4:21 PM
Dev
Dev - avatar
+ 8
Use the test.length function which returns the length of your array 'test' (or the no. of elements in it.)
31st Oct 2017, 4:08 PM
Dev
Dev - avatar
0
they ask answer like "test.? "
31st Oct 2017, 4:17 PM
lakshmi v
0
the test length is 3 how I can give answer in form test.?
31st Oct 2017, 4:18 PM
lakshmi v
0
Ya it's right test.length
31st Oct 2017, 4:23 PM
lakshmi v
0
Thanks
6th Dec 2019, 12:22 AM
Innocent Bwalya