how to check which index is blank in array or not javascript code example Example: javascript how to check if array is empty if(array.length > 0)