Skip to content

Commit 777c5db

Browse files
committed
fix
1 parent 7b7d01c commit 777c5db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

checkKeyExist.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ if ("red" in color) {
99
}
1010

1111
// with hasOwnProperty
12-
car.hasOwnProperty("red");
12+
console.log(color.hasOwnProperty("red"));

0 commit comments

Comments
 (0)