+ 1

Aren't ther missing brackets behinde the "length"?

Tutorial syntax mistake?

8th Dec 2016, 9:30 PM
Heiko
3 Respuestas
+ 3
no it isnt missing a () as it is not a method, but an attribute/variable
8th Dec 2016, 9:42 PM
Aditya
Aditya - avatar
+ 2
The array length property sets or returns the number of elements in an array. It represents an unsigned, 32-bit integer that is always numerically greater than the highest index in the array.
8th Dec 2016, 9:41 PM
Aditya
Aditya - avatar
0
Thanks
8th Dec 2016, 9:50 PM
Heiko