commit
ca46cb15b1
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ alert( 1 + '2' ); // '12' (string to the right)
|
||||||
alert( '1' + 2 ); // '12' (string to the left)
|
alert( '1' + 2 ); // '12' (string to the left)
|
||||||
```
|
```
|
||||||
|
|
||||||
That only happens when one of arguments is a string. Otherwise values are converted to numbers.
|
That only happens when one of the arguments is a string. Otherwise, values are converted to numbers.
|
||||||
````
|
````
|
||||||
|
|
||||||
## ToBoolean
|
## ToBoolean
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue