New course! Every coder should learn Generative AI!
Try a free lesson0
what (.length) do ?? i forgot
3 Answers
+ 6
refer google
it is usef to find the length of the variable
+ 1
it returns no of members in an array
0
return one less tgat last index or in other words return total no. of member in an array