About Array lengths

Hi guys I have a question, let's say I got an array. Then I will execute an if statement saying
if(!array.length) return
if(!array.length) return
Now the question, does mean that the arrays length is equal to 0... or null? And is it different if I say
if(array.length === 0) return
if(array.length === 0) return
Thanks 🙌🏼
1 Reply
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server