Skip to content

Commit 556762b

Browse files
author
Wakidur Rahaman
committed
update
1 parent 071f1d8 commit 556762b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/problems/is-equivalent-object.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ function isEquivalentObj(a: { [key: string]: number | string }, b: { [key: strin
2121
// If everything matched, correct
2222
return true;
2323
}
24-
24+
// However, this would still work for objects that have only a string or a number as the property.
2525
isEquivalentObj({ hi: 12 }, { hi: 12 }); // Return true.

0 commit comments

Comments
 (0)