Question: javascript is array not empty?
Answer: The array can be checked if it is empty by using the array. length property. By checking if the property exists, it can make sure that it is an array, and by checking if the length returned is greater than 0, it can be made sure that the array is not empty.