Skip to content

Commit a4b42ad

Browse files
committed
Array and String Problems
1 parent 48bec38 commit a4b42ad

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

DSA.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2728,7 +2728,6 @@ function DSA72() {
27282728
// DSA72();
27292729

27302730
// 👉 73) check if an object is empty or not in javaScript
2731-
27322731
function DSA73() {
27332732
function isObjectEmpty(value) {
27342733
return Object.keys(value).length === 0 && value.constructor === Object; // 👈 constructor check

0 commit comments

Comments
 (0)