Skip to content

Commit 8f57911

Browse files
committed
update solve problem is object empty
1 parent a3b4156 commit 8f57911

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

2727. is-object-empty/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
const isEmpty = (obj) => {
2+
return Object.keys(obj).length === 0
3+
}

0 commit comments

Comments
 (0)