javascript - JS validate custom rule for checking array not empty? -


i have array called filequeue.

    var filequeue = []; 

how can write custom rule js validate check in array?

thanks

if(filequeue.length == 0)   //empty else   //non-empty 

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -