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 ed9cce6 commit 106cf86Copy full SHA for 106cf86
Sprint-2/implement/contains.js
@@ -1,4 +1,5 @@
1
function contains(obj, key) {
2
- return key in obj;
+ return Object.hasOwn(obj, key);
3
}
4
-module.exports = contains;
+
5
+module.exports = contains;
0 commit comments