Skip to content

Commit 4960823

Browse files
authored
added info to 163
1 parent 4b99e4f commit 4960823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3193,7 +3193,7 @@
31933193
31943194
163. ### What would be the result of 1+2+'3'
31953195
3196-
The output is going to be `33`. Since `1` and `2` are numeric values, the result of the first two digits is going to be a numeric value `3`. The next digit is a string type value because of that the addition of numeric value `3` and string type value `3` is just going to be a concatenation value `33`.
3196+
The output is going to be `33`. Since `1` and `2` are numeric values, the result of the first two digits is going to be a numeric value `3`. The next digit is a string type value because of that the addition of numeric value `3` and string type value `3` is just going to be a concatenation value `33`. Other operationrs like `3 * '3'` do yield correct results because the string is coerced into a number.
31973197
31983198
**[⬆ Back to Top](#table-of-contents)**
31993199

0 commit comments

Comments
 (0)