Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript cehck if array is empty

if (array === undefined || array.length == 0) {
    // array empty or does not exist
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #cehck #array #empty
ADD COMMENT
Topic
Name
6+9 =