Skip to content

Commit 9cf87e3

Browse files
arthurvrKrinkle
authored andcommitted
javascript-101/operations: Clarify comment
Adding quote around an console.log output clarifies that it's actually a string. In this article this really makes sense. Closes gh-581 Fixes gh-542
1 parent ac5ce64 commit 9cf87e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page/javascript-101/operators.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ In JavaScript, numbers and strings will occasionally behave in unexpected ways.
4343
var foo = 1;
4444
var bar = "2";
4545
46-
console.log( foo + bar ); // 12
46+
console.log( foo + bar ); // "12"
4747
```
4848

4949
```

0 commit comments

Comments
 (0)