#So I would need the last one ?
1 messages · Page 1 of 1 (latest)
no
I am saying not to compare with arrays
to check if it's an empty array, use if (!array.length) {}
(!array.length) means that if nothing is in it run {code} or was it the other way around ?
first part
array should be replaced with Check in my situation
yes
(array.length) is the situation when the array is not empty..
Thanks for explaining and helping me out