Skip to content

Commit 2fb9405

Browse files
authored
Remove quotes around addition operator
1 parent 59f6d8d commit 2fb9405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/02-first-steps/07-operators/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ alert( 2 + '1' ); // "21"
5454

5555
See, it doesn't matter whether the first operand is a string or the second one. The rule is simple: if either operand is a string, then convert the other one into a string as well.
5656
57-
String concatenation and conversion is a special feature of the binary plus `"+"`. Other arithmetic operators work only with numbers. They always convert their operands to numbers.
57+
String concatenation and conversion is a special feature of the binary plus `+`. Other arithmetic operators work only with numbers. They always convert their operands to numbers.
5858
5959
For instance, subtraction and division:
6060

0 commit comments

Comments
 (0)