0
intArr.length function shouldn't br intArr.length();
4 Antworten
+ 3
for array it's .length. for string it's .length ()
+ 3
array is not an object so a method won't work that's why we have .length, a string is an object so we need a method => .length ()
0
why so ?
0
oohh yes
I knew about string as a class but not array
thanks