Skip to content

Commit 58c859e

Browse files
day 20 task complete
1 parent 7d3a272 commit 58c859e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

day20/leetcode2727.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// 2727. Is Object Empty
2+
// URL -> https://leetcode.com/problems/is-object-empty/
3+
4+
/**
5+
* @param {Object|Array} obj
6+
* @return {boolean}
7+
*/
8+
var isEmpty = function (obj) {
9+
return !Object.keys(obj).length;
10+
};

0 commit comments

Comments
 (0)