We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b7d01c commit 777c5dbCopy full SHA for 777c5db
checkKeyExist.js
@@ -9,4 +9,4 @@ if ("red" in color) {
9
}
10
11
// with hasOwnProperty
12
-car.hasOwnProperty("red");
+console.log(color.hasOwnProperty("red"));
0 commit comments