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 d76a207 commit dcafc3bCopy full SHA for dcafc3b
Sprint-2/implement/contains.js
@@ -1,6 +1,7 @@
1
function contains(obj, name) {
2
if (typeof obj == "object" || obj !== null || Object.keys(obj).length !== 0)
3
return Object.hasOwn(obj, name);
4
+ return false;
5
}
6
7
module.exports = contains;
0 commit comments