SyntaxFix
Write A Post
Hire A Developer
Questions
User JQuery is EmptyObject to check whether array is contains elements or not.
var testArray=[1,2,3,4,5]; var testArray1=[]; console.log(jQuery.isEmptyObject(testArray)); //false console.log(jQuery.isEmptyObject(testArray1)); //true