DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
es6 check if the object is empty
Object.entries(objectToCheck).length === 0
Source by flaviocopes.com #
PREVIOUS
NEXT
Tagged:
#check
#object
#empty
ADD COMMENT
Topic
COMMENT
Name
9+1 =
Submit