Skip to content

Commit 8441c00

Browse files
authored
Update article.md
Minor correction regarding condition for strings to numbers type conversion.
1 parent 991ca66 commit 8441c00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/02-first-steps/06-type-conversions/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ alert( 1 + '2' ); // '12' (string to the right)
9191
alert( '1' + 2 ); // '12' (string to the left)
9292
```
9393
94-
That only happens when one of the arguments is a string. Otherwise, values are converted to numbers.
94+
That only happens when at least one of the arguments is a string. Otherwise, values are converted to numbers.
9595
````
9696

9797
## ToBoolean

0 commit comments

Comments
 (0)