Update article.md
Minor correction regarding condition for strings to numbers type conversion.
This commit is contained in:
parent
991ca66d70
commit
8441c001b3
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ alert( 1 + '2' ); // '12' (string to the right)
|
|||
alert( '1' + 2 ); // '12' (string to the left)
|
||||
```
|
||||
|
||||
That only happens when one of the arguments is a string. Otherwise, values are converted to numbers.
|
||||
That only happens when at least one of the arguments is a string. Otherwise, values are converted to numbers.
|
||||
````
|
||||
|
||||
## ToBoolean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue