DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to check if a javascript object is empty
function isEmpty(obj) { return Object.keys(obj).length === 0;}
Source by levelup.gitconnected.com #
PREVIOUS
NEXT
Tagged:
#check
#javascript
#object
#empty
ADD COMMENT
Topic
COMMENT
Name
8+1 =
Submit