Skip to content

Commit 02cfecd

Browse files
committed
final changes
1 parent d542752 commit 02cfecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

explicit-and-implicit-conversion-in-javascript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ if (redDucks) {
4040
console.log("Ducks aren't red!"); // Example of explicit conversion, converting 0 to false. Also edge case because I used null.
4141
}
4242

43-
let myAge = "My age is " + 35;
43+
let myAge = "My age is " + 35; // Example of implicit conversion, STRING CONCATENATION WITH THE + OPERATOR.
4444
console.log(myAge);

0 commit comments

Comments
 (0)