/ Published in: JavaScript
Expand |
Embed | Plain Text
if (testarray.length <1) alert("array is empty"); //or if(A && A.length==0) //or if you have other objects that A may be: if(A && A.constructor==Array && A.length==0)
You need to login to post a comment.
