The usage of length

What is the use of

length? How to use
generally? Under what circumstances can I use
?

Mar.02,2021

Array.length

can be used for arrays.

for objects, you can use if the object has a length property.


https://developer.mozilla.org.

what length, array are you talking about? Function? String?


when judging length

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9d565-1951.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9d565-1951.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?