Skip to content

Commit 03018d9

Browse files
hehe
1 parent 72223fc commit 03018d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

basics/Type-Coercion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type coercion happens when JavaScript implicitly change thr type of a variable to suit the situation.
1+
// Type coercion happens when JavaScript implicitly change the type of a variable to suit the situation.
22
let v;
33

44
v = 7 + "7"; // 77 - JS coverts the 7 to string and concatenate it to "77" - js reads + here as a concatenates and not an arithmetic operator

0 commit comments

Comments
 (0)