To check if an array is empty or not, you can use the .length property. The length property sets or returns the number of elements in an array.
確定! 回上一頁