Skip to content

Commit c95783f

Browse files
arthurvrgnarf
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 jquerygh-581 Fixes jquerygh-542
1 parent 1bde112 commit c95783f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

page/javascript-101/operators.md

+1-1
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)