Skip to content

Commit 2bddb02

Browse files
committed
Add additional comparison console logs in boolean.js
1 parent d2880fb commit 2bddb02

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎prep/boolean.js‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,11 @@ console.log("hello" === "hello");
77
console.log("CYF" === "cyf");
88

99
const homeTown = "Newcastle"
10-
//homeTown === "Liverpool"
10+
homeTown === "Liverpool"
1111
console.log("homeTown" === "Liverpool")
1212

13-
console.log(42 === 42)
13+
console.log(42 === 42)
14+
15+
console.log(42 === "42")
16+
17+
console.log(42 == "42")

0 commit comments

Comments
 (0)