Skip to content

Commit a4fba78

Browse files
committed
Clearify comment in javascript-101/operations
Adding quote around an console.log output clarifies that it's actually a string. In this article this really makes sense.
1 parent a22a743 commit a4fba78

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)