Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript check empty object

function isEmptyObject(obj) {
    return !Object.keys(obj).length;
}
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #javascript #check #empty #object
ADD COMMENT
Topic
Name
8+2 =