We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5afff25 commit 21c0ee2Copy full SHA for 21c0ee2
1 file changed
Sprint-2/implement/contains.js
@@ -3,7 +3,7 @@ function contains(obj, property) {
3
return false;
4
}
5
6
- return property in obj;
+ return Object.hasOwn(obj, property);
7
8
9
module.exports = contains;
0 commit comments